react/packages/shared
Brian Vaughn 9f848f8ebe
Update additional tests to use .toWarnDev() matcher (#11957)
* Migrated several additional tests to use new .toWarnDev() matcher

* Migrated ReactDOMComponent-test to use .toWarnDev() matcher

Note this test previous had some hacky logic to verify errors were reported against unique line numbers. Since the new matcher doesn't suppor this, I replaced this check with an equivalent (I think) comparison of unique DOM elements (eg div -> span)

* Updated several additional tests to use the new .toWarnDev() matcher

* Updated many more tests to use .toWarnDev()

* Updated several additional tests to use .toWarnDev() matcher

* Updated ReactElementValidator to distinguish between Array and Object in its warning. Also updated its test to use .toWarnDev() matcher.

* Updated a couple of additional tests

* Removed unused normalizeCodeLocInfo() methods
2018-01-03 13:55:37 -08:00
..
__tests__ Update additional tests to use .toWarnDev() matcher (#11957) 2018-01-03 13:55:37 -08:00
forks Use static injection for ReactErrorUtils (#11725) 2017-11-30 19:10:46 +00:00
ReactDOMFrameScheduling.js https fb.me links (#11779) 2017-12-05 10:39:16 -08:00
ReactElementType.js Remove unnecessary 'use strict' in the source (#11433) 2017-11-02 20:32:48 +00:00
ReactErrorUtils.js Use static injection for ReactErrorUtils (#11725) 2017-11-30 19:10:46 +00:00
ReactFeatureFlags.js Set fragment export flags to true (#11672) 2017-11-27 13:09:15 -08:00
ReactFiberComponentTreeHook.js shared: convert vars into let/const (#11730) 2017-12-01 00:03:27 +00:00
ReactGlobalSharedState.js shared: convert vars into let/const (#11730) 2017-12-01 00:03:27 +00:00
ReactInstanceMap.js Update prettier to 1.8.1 (#10785) 2017-11-07 18:09:33 +00:00
ReactPortal.js Rewrote ReactIncrementalPerf-test using only public API.(#11299) (#11724) 2017-11-30 18:10:04 +00:00
ReactSymbols.js Consolidate all symbols in a single file (#11629) 2017-11-22 18:08:22 +00:00
ReactTreeTraversal.js shared: convert vars into let/const (#11730) 2017-12-01 00:03:27 +00:00
ReactTypeOfSideEffect.js Use binary numbers representation directly (#11873) 2017-12-17 17:56:16 -08:00
ReactTypeOfWork.js Remove unnecessary 'use strict' in the source (#11433) 2017-11-02 20:32:48 +00:00
ReactTypes.js Call and Return components should use ReactElement (#11834) 2017-12-12 15:04:40 -08:00
ReactVersion.js Updating package versions for release 16.2.0 2017-11-28 13:26:36 -08:00
describeComponentFrame.js Update prettier to 1.8.1 (#10785) 2017-11-07 18:09:33 +00:00
getComponentName.js Call and Return components should use ReactElement (#11834) 2017-12-12 15:04:40 -08:00
invokeGuardedCallback.js Use static injection for ReactErrorUtils (#11725) 2017-11-30 19:10:46 +00:00
isTextInputElement.js shared: convert vars into let/const (#11730) 2017-12-01 00:03:27 +00:00
lowPriorityWarning.js shared: convert vars into let/const (#11730) 2017-12-01 00:03:27 +00:00
package.json Drop Haste (#11303) 2017-10-25 02:55:00 +03:00
reactProdInvariant.js shared: convert vars into let/const (#11730) 2017-12-01 00:03:27 +00:00