dillon1000/react

Commit

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.
Browse files
Changed paths2 files
First-parent comparison
R packages/react-dom/src/__tests__/ReactDOMServerIntegrationUntrustedURL-test.internal.js →packages/react-dom/src/__tests__/ReactDOMServerIntegrationUntrustedURL-test.js RenamedM scripts/jest/setupTests.www.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…