dillon1000/react
Commit
Browse files rewrite test act helpers based on react/#15591
This simplifies your test helpers to loop until all timers are flushed (including the ones that get queued after updates), and works in concurrent mode. I also renamed actSuspense to actAsync to be clearer.
Changed paths4 files
First-parent comparisonsrc/__tests__/profiling-test.js ModifiedM src/__tests__/profilingCharts-test.js ModifiedM src/__tests__/profilingCommitTreeBuilder-test.js ModifiedM src/__tests__/utils.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…