mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
71b4e99901
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.