react/scripts/jest
Andrew Clark b1a56abd6a Fork ReactFiberScheduler with feature flag
Adds a feature flag `enableNewScheduler` that toggles between two
implementations of ReactFiberScheduler. This will let us land changes in
master while preserving the ability to quickly rollback.

Ideally this will be a short-lived fork. Once we've tested the new
scheduler for a week or so without issues, we will get rid of it. Until
then, we'll need to maintain two parallel implementations and run tests
against both of them. We rarely land changes to ReactFiberScheduler, so
I don't expect this will be a huge burden.

This commit does not implement anything new. The flag is still off and
tests run against the existing implementation.

Use `yarn test-new-scheduler` to run tests against the new one.
2019-03-20 16:28:33 -07:00
..
matchers Swap expect(ReactNoop) for expect(Scheduler) (#14971) 2019-02-28 12:54:47 -08:00
spec-equivalence-reporter Unify noop and test renderer assertion APIs (#14952) 2019-02-25 19:01:45 -08: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 Add new mock build of Scheduler with flush, yield API (#14964) 2019-02-26 20:51:17 -08:00
config.source-fire.js Run tests for Fire feature flags (#13628) 2018-09-12 16:17:36 +01:00
config.source-new-scheduler.js Fork ReactFiberScheduler with feature flag 2019-03-20 16:28:33 -07:00
config.source-persistent.js Run persistent mode tests in CI (#15029) 2019-03-11 10:56:34 -07: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 Compile invariant directly to throw expressions (#15071) 2019-03-18 13:58:03 -07:00
setupEnvironment.js Interaction tracking follow up (#13509) 2018-09-01 12:00:00 -07:00
setupFire.js [Fire] Add initial build infrastructure (#14359) 2018-11-30 11:52:34 +00:00
setupHostConfigs.js Add new mock build of Scheduler with flush, yield API (#14964) 2019-02-26 20:51:17 -08:00
setupNewScheduler.js Fork ReactFiberScheduler with feature flag 2019-03-20 16:28:33 -07:00
setupTests.build.js Add new mock build of Scheduler with flush, yield API (#14964) 2019-02-26 20:51:17 -08:00
setupTests.js Add new mock build of Scheduler with flush, yield API (#14964) 2019-02-26 20:51:17 -08:00
setupTests.persistent.js Run persistent mode tests in CI (#15029) 2019-03-11 10:56:34 -07:00
shouldIgnoreConsoleError.js Don't suppress jsdom error reporting in our tests (#13401) 2018-08-15 17:44:46 +01:00