dillon1000/react
Commit
Browse files ReactNoop.flush methods return an array of yielded values
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.
Changed paths5 files
First-parent comparisonpackage.json ModifiedM scripts/rollup/bundles.js ModifiedM scripts/rollup/results.json ModifiedM src/renderers/noop/ReactNoopEntry.js ModifiedM yarn.lock ModifiedPatch
Files changed
Rendering syntax-highlighted changes…