mirror of
https://github.com/status-im/react-native.git
synced 2025-02-25 15:45:32 +00:00
Update open source env
Summary: We weren't exposing a mock for the batched bridge, which resulted in the WebSocket test failure but only in the open source copy of react-native. public Reviewed By: voideanvalue, vjeux Differential Revision: D2782151 fb-gh-sync-id: e896097dd6060bc26963bc4c23db87b7277b3eba
This commit is contained in:
parent
6c02d5b14b
commit
3ff39870ce
@ -10,3 +10,9 @@
|
|||||||
|
|
||||||
require('../packager/react-packager/src/Resolver/polyfills/babelHelpers.js');
|
require('../packager/react-packager/src/Resolver/polyfills/babelHelpers.js');
|
||||||
global.__DEV__ = true;
|
global.__DEV__ = true;
|
||||||
|
global.__fbBatchedBridgeConfig = {
|
||||||
|
remoteModuleConfig: [],
|
||||||
|
localModulesConfig: [],
|
||||||
|
};
|
||||||
|
|
||||||
|
global.Promise = require('promise');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user