Enable ES7 async functions in jest
Reviewed By: voideanvalue Differential Revision: D2840780 fb-gh-sync-id: b86eed0078115d41e4400074f41244e4ae688762
This commit is contained in:
parent
f453e14c8f
commit
2263cddd02
|
@ -16,5 +16,6 @@ global.__fbBatchedBridgeConfig = {
|
|||
};
|
||||
|
||||
global.Promise = require('promise');
|
||||
global.regeneratorRuntime = require.requireActual('regenerator/runtime');
|
||||
|
||||
jest.setMock('ErrorUtils', require('ErrorUtils'));
|
||||
|
|
Loading…
Reference in New Issue