dillon1000/react

Commit

Improve tests that deal with microtasks (#26493)

I rewrote some of our tests that deal with microtasks with the aim of
making them less coupled to implementation details. This is related to
an upcoming change to move update processing into a microtask.
Browse files
Changed paths4 files
First-parent comparison
M packages/internal-test-utils/ReactInternalTestUtils.js ModifiedM packages/react-dom/src/__tests__/ReactDOMSafariMicrotaskBug-test.js ModifiedM packages/react-dom/src/events/plugins/__tests__/ChangeEventPlugin-test.js ModifiedM packages/react-reconciler/src/__tests__/ReactFlushSyncNoAggregateError-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…