dillon1000/react

Commit

Update act references in tests (#27805)

As part of the process of removing the deprecated `react-dom/test-utils`
package references to `act` from this module are replaced with
references to `unstable_act` in `react`. It is likely that the unstable
act implementation will be made stable. The test utils act is just a
reexport of the unstable_act implementation in react itself.
Browse files
Changed paths7 files
First-parent comparison
M fixtures/dom/src/__tests__/nested-act-test.js ModifiedM packages/react-devtools-shared/src/__tests__/utils.js ModifiedM packages/react-dom/src/__tests__/ReactDOMHydrationDiff-test.js ModifiedM packages/react-dom/src/__tests__/ReactTestUtilsActUnmockedScheduler-test.js ModifiedM packages/react-refresh/src/__tests__/ReactFresh-test.js ModifiedM packages/react-refresh/src/__tests__/ReactFreshIntegration-test.js ModifiedM packages/react-server-dom-webpack/src/__tests__/ReactFlightDOMForm-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…