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

Clean up disableDOMTestUtils #29610

Merged
merged 4 commits into from
May 28, 2024
Merged

Clean up disableDOMTestUtils #29610

merged 4 commits into from
May 28, 2024

Conversation

jackpope
Copy link
Contributor

@jackpope jackpope commented May 28, 2024

disableDOMTestUtils and the FB build ReactTestUtilsFB allowed us to finish migrating internal callsites off of ReactTestUtils. Now that usage is cleaned up, we can remove the flag, build artifact, and test coverage for the deprecated utility methods.

Copy link

vercel bot commented May 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 28, 2024 3:03pm

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels May 28, 2024
@react-sizebot
Copy link

react-sizebot commented May 28, 2024

Comparing: 6f23540...f5e89e8

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.js = 6.66 kB 6.66 kB = 1.82 kB 1.82 kB
oss-stable/react-dom/cjs/react-dom-client.production.js = 496.04 kB 496.04 kB = 88.77 kB 88.77 kB
oss-experimental/react-dom/cjs/react-dom.production.js = 6.67 kB 6.67 kB = 1.83 kB 1.83 kB
oss-experimental/react-dom/cjs/react-dom-client.production.js = 500.84 kB 500.84 kB = 89.46 kB 89.45 kB
facebook-www/ReactDOM-prod.classic.js = 593.48 kB 593.48 kB = 104.38 kB 104.38 kB
facebook-www/ReactDOM-prod.modern.js = 569.87 kB 569.87 kB = 100.77 kB 100.77 kB
test_utils/ReactAllWarnings.js Deleted 63.82 kB 0.00 kB Deleted 15.95 kB 0.00 kB
facebook-www/ReactTestUtils-dev.classic.js Deleted 44.82 kB 0.00 kB Deleted 12.82 kB 0.00 kB
facebook-www/ReactTestUtils-dev.modern.js Deleted 44.82 kB 0.00 kB Deleted 12.82 kB 0.00 kB

Significant size changes

Includes any change greater than 0.2%:

Expand to show
Name +/- Base Current +/- gzip Base gzip Current gzip
react-native/implementations/ReactFabric-prod.js +0.22% 310.86 kB 311.55 kB +0.17% 54.52 kB 54.61 kB
facebook-react-native/react-test-renderer/cjs/ReactTestRenderer-profiling.js = 343.23 kB 342.54 kB = 59.87 kB 59.77 kB
test_utils/ReactAllWarnings.js Deleted 63.82 kB 0.00 kB Deleted 15.95 kB 0.00 kB
facebook-www/ReactTestUtils-dev.classic.js Deleted 44.82 kB 0.00 kB Deleted 12.82 kB 0.00 kB
facebook-www/ReactTestUtils-dev.modern.js Deleted 44.82 kB 0.00 kB Deleted 12.82 kB 0.00 kB

Generated by 🚫 dangerJS against f5e89e8

@jackpope jackpope changed the title Turn on disableDOMTestUtils for www Clean up disableDOMTestUtils May 28, 2024
@jackpope jackpope requested a review from eps1lon May 28, 2024 15:00
@jackpope jackpope requested a review from yungsters May 28, 2024 15:10
Copy link
Collaborator

@eps1lon eps1lon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet

@jackpope jackpope merged commit 2787eeb into facebook:main May 28, 2024
40 checks passed
@jackpope jackpope deleted the test-utils-fb branch May 28, 2024 18:55
github-actions bot pushed a commit that referenced this pull request May 28, 2024
`disableDOMTestUtils` and the FB build `ReactTestUtilsFB` allowed us to
finish migrating internal callsites off of ReactTestUtils. Now that
usage is cleaned up, we can remove the flag, build artifact, and test
coverage for the deprecated utility methods.

DiffTrain build for commit 2787eeb.
github-actions bot pushed a commit that referenced this pull request May 28, 2024
`disableDOMTestUtils` and the FB build `ReactTestUtilsFB` allowed us to
finish migrating internal callsites off of ReactTestUtils. Now that
usage is cleaned up, we can remove the flag, build artifact, and test
coverage for the deprecated utility methods.

DiffTrain build for [2787eeb](2787eeb)
nikeee pushed a commit to nikeee/react that referenced this pull request May 28, 2024
`disableDOMTestUtils` and the FB build `ReactTestUtilsFB` allowed us to
finish migrating internal callsites off of ReactTestUtils. Now that
usage is cleaned up, we can remove the flag, build artifact, and test
coverage for the deprecated utility methods.
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.

4 participants