react/scripts/jest
Andrew Clark cd48a06547
Set up infra for react-reconciler fork (#18285)
* ReactFiberReconciler -> ReactFiberReconciler.old

* Set up infra for react-reconciler fork

We're planning to land some significant refactors of the reconciler.
We want to be able to gradually roll out the new implementation side-by-
side with the existing one. So we'll create a short lived fork of the
react-reconciler package. Once the new implementation has stabilized,
we'll delete the old implementation and promote the new one.

This means, for as long as the fork exists, we'll need to maintain two
separate implementations. This sounds painful, but since the forks will
still be largely the same, most changes will not require two separate
implementations. In practice, you'll implement the change in the old
fork and then copy paste it to the new one.

This commit only sets up the build and testing infrastructure. It does
not actually fork any modules. I'll do that in subsequent PRs.

The forked version of the reconciler will be used to build a special
version of React DOM. I've called this build ReactDOMForked. It's only
built for www; there's no open source version.

The new reconciler is disabled by default. It's enabled in the
`yarn test-www-variant` command. The reconciler fork isn't really
related to the "variant" feature of the www builds, but I'm piggy
backing on that concept to avoid having to add yet another
testing dimension.
2020-03-12 11:38:32 -07:00
..
matchers Fix Jest diff call (#17921) 2020-01-29 14:38:22 +00:00
spec-equivalence-reporter Interaction tracing works across hidden and SSR hydration boundaries (#15872) 2019-06-14 18:08:23 -07:00
typescript Update typescript package and jest preprocessor (#17839) 2020-01-14 13:52:52 -08:00
config.base.js Upgrade to jest 25 (#17896) 2020-01-25 08:43:02 -08:00
config.build-devtools.js Fix test_build_devtools CI job to run test-build-devtools (#17631) 2019-12-16 16:03:12 -08:00
config.build.js Fix test_build_devtools CI job to run test-build-devtools (#17631) 2019-12-16 16:03:12 -08:00
config.source-persistent.js Export React as Named Exports instead of CommonJS (#18106) 2020-02-25 13:54:27 -08:00
config.source-www.js Add test run that uses www feature flags (#18234) 2020-03-06 09:29:05 -08:00
config.source.js Export React as Named Exports instead of CommonJS (#18106) 2020-02-25 13:54:27 -08: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 Fix test_build_devtools CI job to run test-build-devtools (#17631) 2019-12-16 16:03:12 -08:00
setupEnvironment.js Add test run that uses www feature flags (#18234) 2020-03-06 09:29:05 -08:00
setupHostConfigs.js Set up infra for react-reconciler fork (#18285) 2020-03-12 11:38:32 -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 Additional test infra changes for toErrorDev rename (#17632) 2019-12-17 13:31:47 +00:00
setupTests.persistent.js Run persistent mode tests in CI (#15029) 2019-03-11 10:56:34 -07:00
setupTests.www.js Hard-code disableModulePatternComponents (#18239) 2020-03-06 11:09:36 -08:00
shouldIgnoreConsoleError.js warn if you try to use act() in prod (#16282) 2019-08-05 13:01:05 -07:00