react/scripts/jest
lunaruan b12a982062
Babel 7 (#16297)
Upgraded from Babel 6 to Babel 7.

The only significant change seems to be the way `@babel/plugin-transform-classes` handles classes differently from `babel-plugin-transform-es2015-classes`. In regular mode, the former injects a `_createClass` function that increases the bundle size, and in the latter it removes the safeguard checks. However, this is okay because we don't all classes in new features, and we want to deprecate class usage in the future in the react repo.

Co-authored-by: Luna Ruan <luna@fb.com>
Co-authored-by: Abdul Rauf <abdulraufmujahid@gmail.com>
Co-authored-by: Maksim Markelov <maks-markel@mail.ru>
2019-08-08 17:46:35 -07:00
..
matchers Prefix mock Scheduler APIs with _unstable (#15999) 2019-06-26 12:16:08 -07:00
spec-equivalence-reporter Interaction tracing works across hidden and SSR hydration boundaries (#15872) 2019-06-14 18:08:23 -07:00
typescript Enforce presence or absence of component stack in tests (#13215) 2018-07-16 20:20:18 +01:00
config.base.js Babel 7 (#16297) 2019-08-08 17:46:35 -07:00
config.build.js [Fire] Remove unused React fire fork (#16046) 2019-07-03 11:05:28 +01:00
config.source-persistent.js Babel 7 (#16297) 2019-08-08 17:46:35 -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 Babel 7 (#16297) 2019-08-08 17:46:35 -07:00
setupEnvironment.js Interaction tracking follow up (#13509) 2018-09-01 12:00:00 -07:00
setupHostConfigs.js Add new mock build of Scheduler with flush, yield API (#14964) 2019-02-26 20:51:17 -08: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 Construct Error at invariant call site for clearer stack traces (#15877) 2019-06-18 11:38:33 -07:00
setupTests.persistent.js Run persistent mode tests in CI (#15029) 2019-03-11 10:56:34 -07:00
shouldIgnoreConsoleError.js warn if you try to use act() in prod (#16282) 2019-08-05 13:01:05 -07:00