dillon1000/react
Commit
Browse files Remote `.internal` override from untrusted URL tests (#26372)
Adding `.internal` to a test file prevents it from being tested in build mode. The best practice is to instead gate the test based on whether the feature is enabled. Ideally we'd use the `@gate` pragma in these tests, but the `itRenders` test helpers don't support that.
Changed paths2 files
First-parent comparisonpackages/react-dom/src/__tests__/ReactDOMServerIntegrationUntrustedURL-test.js RenamedM scripts/jest/setupTests.www.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…