Commit 432ffc9
authored
Convert more Scheduler.unstable_flushAll in tests to new test utils (facebook#26369)
`Scheduler.unstable_flushAll` in existing tests doesn't work with
microtask. This PR converts most of the remaining
`Scheduler.unstable_flushAll()` calls to using internal test utilities
to unblock refactoring `ensureRootIsScheduled` with scheduling a
microtask.1 parent 7741118 commit 432ffc9
6 files changed
Lines changed: 332 additions & 270 deletions
File tree
- packages
- react-dom/src/events/__tests__
- react-interactions/events/src/dom/create-event-handle/__tests__
- react-reconciler/src/__tests__
- react-test-renderer/src/__tests__
0 commit comments