mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-12 17:30:12 +08:00
[react-packager] Fix jest tests
This commit is contained in:
5
jestSupport/env.js
Normal file
5
jestSupport/env.js
Normal file
@@ -0,0 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
global.setImmediate = global.setImmediate || function(fn) {
|
||||
return setTimeout(fn, 0);
|
||||
};
|
||||
Reference in New Issue
Block a user