react/scripts/jest
Sebastian Markbåge 99d7371863
[Flight] Split Streaming from Relay Implemenation (#18260)
* Add ReactFlightServerConfig intermediate

This just forwards to the stream version of Flight which is itself forked
between Node and W3C streams.

The dom-relay goes directly to the Relay config though which allows it to
avoid the stream part of Flight.

* Separate streaming protocol into the Stream config

* Split streaming parts into the ReactFlightServerConfigStream

This decouples it so that the Relay implementation doesn't have to encode
the JSON to strings. Instead it can be fed the values as JSON objects and
do its own encoding.

* Split FlightClient into a basic part and a stream part

Same split as the server.

* Expose lower level async hooks to Relay

This requires an external helper file that we'll wire up internally.
2020-03-10 14:55:04 -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 [Flight] Split Streaming from Relay Implemenation (#18260) 2020-03-10 14:55:04 -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