mirror of
https://github.com/react/react.git
synced 2026-10-05 19:32:03 +08:00
Adds custom Jest matchers that help with writing async tests: - `toFlushThrough` - `toFlushAll` - `toFlushAndThrow` - `toClearYields` Each one accepts an array of expected yielded values, to prevent false negatives. Eventually I imagine we'll want to publish this on npm.