react/scripts/jest
Brian Vaughn c94b4b8b86
Fixed potential false-positive in toWarnDev matcher (#11898)
* Warn about spying on the console

* Added suppress warning flag for spyOn(console)

* Nits

* Removed spy-on-console guard

* Fixed a potential source of false-positives in toWarnDev() matcher
Also updated (most of) ReactIncrementalErrorLogging-test.internal to use the new matcher

* Removed unused third param to spyOn

* Improved clarity of inline comments

* Removed unused normalizeCodeLocInfo() method
2018-01-05 09:44:45 -08:00
..
matchers Fixed potential false-positive in toWarnDev matcher (#11898) 2018-01-05 09:44:45 -08:00
spec-equivalence-reporter toWarnInDev matcher; throw on unexpected console.error (#11786) 2018-01-02 11:06:41 -08:00
typescript toWarnInDev matcher; throw on unexpected console.error (#11786) 2018-01-02 11:06:41 -08:00
config.build.js Move npm output from build/packages/* to build/node_modules/* (#11962) 2018-01-04 19:01:31 +00:00
config.source.js Forbid Haste in Jest (#11647) 2017-11-23 18:02:47 +00:00
noHaste.js Forbid Haste in Jest (#11647) 2017-11-23 18:02:47 +00:00
preprocessor.js use different eslint config for es6 and es5 (#11794) 2017-12-11 15:52:46 +00:00
setupEnvironment.js Update to Jest 22 (#11956) 2018-01-04 18:57:30 +00:00
setupTests.js toWarnInDev matcher; throw on unexpected console.error (#11786) 2018-01-02 11:06:41 -08:00