dillon1000/react

Commit

[tests] Assert scheduler log empty in internalAct (#28737)

We should force `assertLog` to be called before each `act` block to
ensure the queue is empty.

Requires fixing tests:
- https://github.com/facebook/react/pull/28745
- https://github.com/facebook/react/pull/28758
- https://github.com/facebook/react/pull/28759
- https://github.com/facebook/react/pull/28760
- https://github.com/facebook/react/pull/28761
- https://github.com/facebook/react/pull/28762
- https://github.com/facebook/react/pull/28763
- https://github.com/facebook/react/pull/28812
Browse files
Changed paths2 files
First-parent comparison
M packages/internal-test-utils/internalAct.js ModifiedM scripts/flow/environment.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…