dillon1000/react

Commit

[TestUtils] Build limited test-utils (#28782)

We landed a flag to disable test utils in many builds but we need to
fork the entrypoint to make it work with tests properly. This also
removes test-utils implementations from builds that do not support it.
Currently in OSS builds the only thing in test-utils is a reexport of
`act`
Browse files
Changed paths6 files
First-parent comparison
M packages/react-dom/src/__tests__/ReactTestUtils-test.js ModifiedD packages/react-dom/src/__tests__/__snapshots__/ReactTestUtils-test.js.snap DeletedM packages/react-dom/src/test-utils/ReactTestUtils.js ModifiedA packages/react-dom/src/test-utils/ReactTestUtilsFB.js AddedA packages/react-dom/test-utils.fb.js AddedM scripts/shared/inlinedHostConfigs.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…