mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 04:35:36 +08:00
Update jestSupport in preparation for upgrading jest to latest version
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
global.setImmediate = global.setImmediate || function(fn) {
|
||||
return setTimeout(fn, 0);
|
||||
};
|
||||
window.__DEV__ = true;
|
||||
window.Env = {};
|
||||
|
||||
require.requireActual('./setupEnvPolyfills');
|
||||
|
||||
Reference in New Issue
Block a user