react-native/Libraries
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
..
ART Mark `-[init]` w RCT_NOT_IMPLEMENTED 2015-11-14 06:29:27 -08:00
ActionSheetIOS Add tintColor for buttons. 2015-12-09 05:19:25 -08:00
AdSupport Text highlighting on iOS 2015-07-24 08:41:58 -08:00
Animated remove a typo 2016-01-06 10:33:29 -08:00
AppRegistry Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
AppStateIOS revert D2372548 to fix initial app state issue 2015-09-25 13:25:26 -07:00
BatchedBridge Implement Android's dispatchViewManagerCommand interface on iOS 2016-01-06 05:58:37 -08:00
CameraRoll Bugfix - Typos 2015-12-15 09:09:32 -08:00
Components Refactor text input keyboards 2016-01-07 13:40:33 -08:00
CustomComponents Updates for haste2 inside of jest 2016-01-08 06:52:29 -08:00
DebugComponentHierarchy Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Device Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Devtools Use pre-bundled elements inspector 2015-10-29 11:21:32 -07:00
Fetch Add fetch's clone function to Request and Response prototypes 2015-10-30 10:57:33 -07:00
Geolocation Fix getCurrentPosition 2015-12-16 08:37:33 -08:00
Image Load assets from same folder as JSbundle (Android) 2016-01-06 08:46:35 -08:00
Inspector Inspecting stateless components. 2015-12-08 10:13:25 -08:00
Interaction Updates for haste2 inside of jest 2016-01-08 06:52:29 -08:00
JavaScriptAppEngine Hot Loading E2E basic flow 2015-12-28 16:44:59 -08:00
LayoutAnimation Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
LinkingIOS Add support for Universal Links 2015-12-04 09:05:31 -08:00
Modal Improve Modal docs describing iOS only support 2015-12-05 18:48:28 -08:00
NativeApp Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Network Get response url from XMLHttpRequest 2016-01-07 12:03:48 -08:00
Picker Added support for styling the PickerIOS 2015-12-08 07:48:26 -08:00
Portal Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
PullToRefresh Added ColorPropType 2015-12-23 10:08:38 -08:00
PushNotificationIOS Add soundName config for UILocalNotification 2016-01-07 12:01:26 -08:00
QuickPerformanceLogger added QPL for main interactions 2015-09-29 22:25:23 -07:00
RCTTest Wait for JSExecutor to tear down in RCTBridgeTests 2016-01-05 15:30:33 -08:00
RKBackendNode Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
ReactIOS Fix scroll-to-top in MarketPlace 2015-12-23 12:40:33 -08:00
ReactNative Deploy v0.20.1 2015-12-18 17:04:29 -08:00
Sample Remove invariant of Sample.ios.js that is not used 2015-05-26 18:25:00 -07:00
Settings Replaced RegExp method parser with recursive descent 2015-12-10 10:12:29 -08:00
Storage Batch AsyncStorage.multiGet calls 2015-12-03 09:10:29 -08:00
StyleSheet Added ColorPropType 2015-12-23 10:08:38 -08:00
Text Disable background color propagation for everything except text nodes 2016-01-08 03:38:31 -08:00
Utilities Updates for haste2 inside of jest 2016-01-08 06:52:29 -08:00
Vibration Text highlighting on iOS 2015-07-24 08:41:58 -08:00
WebSocket Improve red boxes coming from RCTWebSocketExecutor 2015-12-23 13:32:28 -08:00
react-native Fix missing Alert in react-native.js.flow 2016-01-08 04:36:28 -08:00
vendor Fix minor typo in PanResponder 2016-01-07 12:01:56 -08:00
Promise.js Add support for promise rejection tracking 2016-01-07 12:02:56 -08:00