react/scripts/jest
Laura buns b43eec7eaa Replace `wrap-warning-with-env-check` with an eslint plugin (#17540)
* Replace Babel plugin with an ESLint plugin

* Fix ESLint rule violations

* Move shared conditions higher

* Test formatting nits

* Tweak ESLint rule

* Bugfix: inside else branch, 'if' tests are not satisfactory

* Use a stricter check for exactly if (__DEV__)

This makes it easier to see what's going on and matches dominant style in the codebase.

* Fix remaining files after stricter check
2019-12-06 18:25:54 +00:00
..
matchers Warning system refactoring (part 1) (#16799) 2019-09-24 13:45:38 +01: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 chore: upgrade to jest 24 (#15778) 2019-10-03 22:44:18 +05:30
config.build-devtools.js chore: upgrade to jest 24 (#15778) 2019-10-03 22:44:18 +05:30
config.build.js Disabled DevTools tests from yarn-build target 2019-08-27 09:08:49 -07:00
config.source-persistent.js Configured CI to run DevTools tests. Updated other test configs not to include DevTools tests. 2019-08-26 09:58:28 -07:00
config.source.js Configured CI to run DevTools tests. Updated other test configs not to include DevTools tests. 2019-08-26 09:58:28 -07: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 Replace `wrap-warning-with-env-check` with an eslint plugin (#17540) 2019-12-06 18:25:54 +00:00
setupEnvironment.js Remove concurrent apis from stable (#17088) 2019-10-15 15:09:19 -07:00
setupHostConfigs.js Add Experimental Flight Infrastructure (#16398) 2019-10-29 14:45:47 -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 Experimental test helper: `it.experimental` (#17149) 2019-10-19 16:08:08 -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