Enable ES7 async functions in jest

Reviewed By: voideanvalue

Differential Revision: D2840780

fb-gh-sync-id: b86eed0078115d41e4400074f41244e4ae688762
This commit is contained in:
Hedger Wang 2016-01-21 11:18:18 -08:00 committed by facebook-github-bot-4
parent f453e14c8f
commit 2263cddd02
1 changed files with 1 additions and 0 deletions

View File

@ -16,5 +16,6 @@ global.__fbBatchedBridgeConfig = {
};
global.Promise = require('promise');
global.regeneratorRuntime = require.requireActual('regenerator/runtime');
jest.setMock('ErrorUtils', require('ErrorUtils'));