-
-
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
Update jsdom version #3655
Comments
You can fork jest-environment-jsdom and build your own version of it that uses another version of jsdom :) Then use that using |
@flaviut yes, Jest still supports Node 4, that's why we can't really use jsdom@10+. I'll close this issue, but will definitely revisit after we drop Node 4, probably near its EOL which is in a year. |
Great, I'll go ahead and do that! Thank you for the suggestion, I didn't know that was possible. Edit: If anyone else comes across this issue, I'd like to mention that this package is now on npm. |
@flaviut how do i use this npm download? |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
jest currently uses [email protected], which is kinda old and has a few bugs that I'd like fixed.
I'd like to bump the jsdom version to 11.0.0. The API is completely different, but it should be straightforward to migrate since jest doesn't do anything complicated with it.
jsdom@11 doesn't support node v4 though. I think that might be a problem--it looks like jest tries to support node v4: https://github.com/facebook/jest/blob/master/circle.yml#L13
The text was updated successfully, but these errors were encountered: