-
Notifications
You must be signed in to change notification settings - Fork 47k
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 to Jest 25 #18480
Update to Jest 25 #18480
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 9402084:
|
Can you explain the broken test fix? I don’t get it. |
It's complicated. The test was originally written in #7397. For non-text input types, mobile browsers didn't honor Then in #11534 we changed the implementation to actually use Then in https://github.com/facebook/react/pull/17896/files#diff-ec833522fe8ba426ff9bfe13e609a6e9, we upgraded jsdom. That got rid of the bogus Then the upgrade was reverted. As a part of https://github.com/facebook/react/pull/18376/files#diff-ec833522fe8ba426ff9bfe13e609a6e9 we temporarily added those bogus Now I'm reverting Andrew's skipping. I've added After I unskipped and fixed it, I've noticed it fails with the By the way, this bug got fixed in both Chrome and Safari in 2018 so it's possible we can remove this. #7233 (comment) |
Revert of #18376. Re-applies #17896.
Bumped the version to include fixes for jestjs/jest#9531 and the setter issue @sebmarkbage pointed out (jestjs/jest#9745).
Verified our matchers work now.