dillon1000/react

Commit

Define global __WWW__ = true flag during www tests (#21504)

* Define global __WWW__ = true flag during www tests

We already do that for __PERSISTENT__.

* Use @gate www in ReactSuspenseCallback

This allows it to not be internal anymore. We test it against the www build.
Browse files
Changed paths4 files
First-parent comparison
R packages/react-reconciler/src/__tests__/ReactSuspenseCallback-test.internal.js →packages/react-reconciler/src/__tests__/ReactSuspenseCallback-test.js RenamedM scripts/jest/TestFlags.js ModifiedM scripts/jest/config.source-www.js ModifiedM scripts/jest/setupTests.www.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…