Skip to content
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 jest version #4846

Merged
merged 5 commits into from
Sep 17, 2018
Merged

Update jest version #4846

merged 5 commits into from
Sep 17, 2018

Conversation

skoging
Copy link
Contributor

@skoging skoging commented Aug 2, 2018

Jest 23 adds support for test.each #4845

@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@skoging
Copy link
Contributor Author

skoging commented Aug 2, 2018

Tests appear to fail due to jsdom/jsdom#2304. This is happening with the current version of jest as well.

@ianschmitz
Copy link
Contributor

ianschmitz commented Aug 3, 2018

There is already #4550

@bugzpodder
Copy link

I haven't updated #4550 so this is fine. But the jsdom error needs to be fixed before proceeding. Can we pin jsdom dependency to a version.

@skoging
Copy link
Contributor Author

skoging commented Aug 4, 2018

A fix appears to have been merged into jest master jestjs/jest#6792.
Could wait for that to be released instead of pinning jsdom.

@skoging
Copy link
Contributor Author

skoging commented Aug 14, 2018

The jsdom error appears to be fixed now with version 23.5.0 of jest. There are other failing tests, but I don't know weather the errors are due to these changes or an unstable CI setup.

@mlazowik
Copy link

mlazowik commented Sep 17, 2018

@Timer this also fixes one of the issues with CI (namely jestjs/jest#6766) if you want to tag it.

zmitry pushed a commit to zmitry/create-react-app that referenced this pull request Sep 30, 2018
* Update jest version

* Update babel-jest version

* Use testURL: http://localhost in jest configs.

* Update to jest version 23.5

This version of jest includes a fix for jsdom/jsdom#2304

* "testURL": "http://localhost" is default with jest v23.5
@lock lock bot locked and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants