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

Use jest-environment-jsdom-sixteen #19288

Merged
merged 4 commits into from
Jul 16, 2020

Conversation

rickhanlonii
Copy link
Member

Summary

Do not merge until JSDOM publishes a new version

This PR replaces the jsdom resolution override with using jest-environment-jsdom-sixteen as the test runner until we update to Jest 26

Test Plan

  • Tests pass

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Jul 8, 2020
@rickhanlonii rickhanlonii requested a review from gaearon July 8, 2020 22:25
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 8, 2020

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 3504e56:

Sandbox Source
React Configuration

@sizebot
Copy link

sizebot commented Jul 8, 2020

No significant bundle size changes to report.

Size changes (stable)

Generated by 🚫 dangerJS against 3504e56

@sizebot
Copy link

sizebot commented Jul 8, 2020

No significant bundle size changes to report.

Size changes (experimental)

Generated by 🚫 dangerJS against 3504e56

scripts/jest/config.base.js Outdated Show resolved Hide resolved
yarn.lock Outdated Show resolved Hide resolved
@gaearon
Copy link
Collaborator

gaearon commented Jul 10, 2020

We still need to wait for the jsdom release to get this in, right?

@SimenB
Copy link
Contributor

SimenB commented Jul 10, 2020

@rickhanlonii
Copy link
Member Author

@gaearon this should be good to go now

@rickhanlonii
Copy link
Member Author

rickhanlonii commented Jul 10, 2020

Is there a test that will fail if we don't have the JSDOM fix as expected just to double check or has that not landed yet?

@gaearon
Copy link
Collaborator

gaearon commented Jul 13, 2020

It's #19186.

@rickhanlonii
Copy link
Member Author

@gaearon @trueadm I patched this onto that branch and all tests pass so I'm going to merge, let me know if there are any issues.

@rickhanlonii rickhanlonii merged commit bc4cd92 into facebook:master Jul 16, 2020
@rickhanlonii rickhanlonii deleted the rh-jsdom-16 branch July 16, 2020 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants