dillon1000/react

Commit

Use `act` in fuzz tester to flush expired work (#21108)

* Add failing hard-coded fuzz test

Caught in CI by the fuzz tester.

Related to expired updates.

* Use `act` in fuzz tester to flush expired work

Expired work gets scheduled in a microtask now, so we need to use `act`
to flush it.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-reconciler/src/__tests__/ReactIncrementalTriangle-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…