mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Allows us to make assertions on the values that are yielded when performing work. In our existing tests, we do this manually by pushing into an array. ReactNoop.flushThrough extends this concept. It accepts an array of expected values and flushes until those values are yielded.