-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: upgrade jsdom #8851
chore: upgrade jsdom #8851
Conversation
@@ -60,11 +60,11 @@ test('works with jsdom testEnvironmentOptions config JSON', () => { | |||
'--config=' + | |||
JSON.stringify({ | |||
testEnvironmentOptions: { | |||
userAgent: 'Agent/007', | |||
url: 'https://jestjs.io', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cannot set userAgent
this way anymore. See jsdom/jsdom#2279
I noticed the |
We were planning on making quite a few changes for Jest 25: https://github.com/facebook/jest/milestone/9 However, I wonder if just dropping node 6 and upgrading jsdom is a nice little major release that should be an easy upgrade for people, and we can make 26 be more breaking. Just dropping Node 6 (meaning we no longer transpile Thoughts? |
As a maintainer of a testing library that relies on jsdom, having the latest version would be really nice :) |
Yeah ! A major version for node 6 drop and |
You can install |
25 stable is currently a bit delayed due to issues rolling it out at FB (something with how they fake promises is broken). Hopefully they'll figure something out and we can proceed 🙂 |
@thymikee does it mean |
@ahnpnl yes |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Finally 🙂
Test plan
Green CI