dillon1000/react
Commit
Browse files 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.
Changed paths4 files
First-parent comparisonpackages/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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…