react/scripts/jest
Andrew Clark 71b4e99901
[react-test-renderer] Jest matchers for async tests (#13236)
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.
2018-07-19 10:26:24 -07:00
..
matchers [react-test-renderer] Jest matchers for async tests (#13236) 2018-07-19 10:26:24 -07:00
spec-equivalence-reporter [react-test-renderer] Jest matchers for async tests (#13236) 2018-07-19 10:26:24 -07:00
typescript Enforce presence or absence of component stack in tests (#13215) 2018-07-16 20:20:18 +01:00
config.base.js Resolve host configs at build time (#12792) 2018-05-19 11:29:11 +01:00
config.build.js Resolve host configs at build time (#12792) 2018-05-19 11:29:11 +01:00
config.source.js Resolve host configs at build time (#12792) 2018-05-19 11:29:11 +01:00
dont-run-jest-directly.js Add error when running jest directly (#12726) 2018-05-01 12:46:17 -07:00
noHaste.js Forbid Haste in Jest (#11647) 2017-11-23 18:02:47 +00:00
preprocessor.js Add a build step to hoist warning conditions (#12537) 2018-04-04 17:04:40 +01:00
setupEnvironment.js Run react-dom SSR import test in jsdom-less environment (#13157) 2018-07-06 16:43:43 +01:00
setupHostConfigs.js Reorganize how shared internals are accessed (#13201) 2018-07-13 02:45:37 +01:00
setupTests.js [react-test-renderer] Jest matchers for async tests (#13236) 2018-07-19 10:26:24 -07:00