react-native/Libraries/Utilities
Christoph Pojer b84ad2ab0d Updates for haste2 inside of jest
Summary:
I'm working on deploying haste2 with jest. This updates all the files that require changes for this to work and they are backwards compatible with the current version of jest.

* package.json was just outdated. I think haste1's liberal handling with collisions made this a "non-issue"
* env.js didn't properly set up ErrorUtils, also unsure why that isn't a problem in jest right now already?
* some things were mocking things they shouldn't
* Because of the regex that matches against providesModule and System.import, it isn't possible to list module names more than once. We have multiple tests reusing the same providesModule ids and using System.import with modules that only exist virtually within that test. Splitting up the strings makes the regexes work (we do the same kind of splitting on www sometimes if we need to) and using different providesModule names in different test files fixes the problem. I think the BundlesLayoutIntegration-test is going to be deleted, so this doesn't even matter.

public

Reviewed By: voideanvalue

Differential Revision: D2809681

fb-gh-sync-id: 8fe6ed8b5a1be28ba141e9001de143e502693281
2016-01-08 06:52:29 -08:00
..
__mocks__ [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
__tests__ Updates for haste2 inside of jest 2016-01-08 06:52:29 -08:00
differ [ReactNative] Fix warnings w/h => width/height 2015-05-02 10:22:59 -08:00
Alert.js Alert docs 2015-12-18 06:10:31 -08:00
AlertIOS.js Alert docs 2015-12-18 06:10:31 -08:00
BackAndroid.android.js Bugfix - Typos 2015-12-15 09:09:32 -08:00
BackAndroid.ios.js RN: Remove BackAndroid Warning 2015-11-12 13:24:27 -08:00
CPUProfiler.js Add NativeProfiling module that uses RN nativeProfiler or console.profile 2015-11-27 04:44:25 -08:00
CSSVarConfig.js Bugfix - Typos 2015-12-15 09:09:32 -08:00
Dimensions.js Add example of getting window dimensions to Dimensions docs. 2015-12-23 10:07:12 -08:00
ErrorUtils.js [Cosmetic] Fixing comment typo 2015-06-02 20:23:34 -08:00
HMRClient.js Show red boxes on HL mode 2016-01-07 13:15:28 -08:00
MatrixMath.js Add rotateX and rotateY transforms to Android Views . 2015-12-09 16:09:30 -08:00
MessageQueue.js Flows between RN Threads 2016-01-04 02:16:31 -08:00
PerformanceLogger.js Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
PixelRatio.js [ReactNative] PixelRatio docs 2015-07-27 09:40:08 -08:00
Platform.android.js Release React Native for Android 2015-09-14 18:13:39 +01:00
Platform.ios.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
RCTLog.js Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
RCTRenderingPerf.js [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
Systrace.js Report jsc memory information to fbsystrace 2015-12-29 23:37:39 -08:00
UIManager.js Added setChildren() function 2015-12-15 06:56:31 -08:00
buildStyleInterpolator.js Bugfix - Typos 2015-12-15 09:09:32 -08:00
createStrictShapeTypeChecker.js fix library/utility lint warnings 2015-11-30 16:15:30 -08:00
cssVar.js [ReactNative] OSS JSNavigationStack w/ Examples 2015-03-24 09:39:40 -08:00
deepFreezeAndThrowOnMutationInDev.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
dismissKeyboard.js [ReactNative] Sync [react_native] Fix keyboard behavior for android 2015-08-14 02:58:37 -08:00
groupByEveryN.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
logError.js Flowify Library/Utilities/ 2015-03-23 16:47:26 -08:00
mapWithSeparator.js select up and down the inspector hierarchy 2015-06-04 10:18:56 -08:00
mergeFast.js Fix typo 2015-08-06 20:22:24 -08:00
mergeIntoFast.js Bugfix - Typos 2015-12-15 09:09:32 -08:00
stringifySafe.js [ReactNative] improve console logging a little bit 2015-05-04 18:57:03 -08:00
truncate.js Bugfix - Typos 2015-12-15 09:09:32 -08:00