mirror of
https://github.com/status-im/react-native.git
synced 2025-01-13 19:15:05 +00:00
Fixed path to regenerator-runtime
Summary: Since 0.8.43 regenerator has regenerator-runtime dependency. Fixes one js test in trunk Closes https://github.com/facebook/react-native/pull/7351 Reviewed By: davidaurelio Differential Revision: D3252699 Pulled By: bestander fb-gh-sync-id: cedb122eb8e9f3a5e40a5313482bc2282511c71e fbshipit-source-id: cedb122eb8e9f3a5e40a5313482bc2282511c71e
This commit is contained in:
parent
46d98e1d68
commit
ec5016ad8f
@ -10,7 +10,7 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
require('regenerator/runtime');
|
||||
require('regenerator-runtime/runtime');
|
||||
|
||||
var React = require('react');
|
||||
var ReactNative = require('react-native');
|
||||
|
@ -22,7 +22,7 @@
|
||||
/* eslint strict: 0 */
|
||||
/* globals GLOBAL: true, window: true */
|
||||
|
||||
require('regenerator/runtime');
|
||||
require('regenerator-runtime/runtime');
|
||||
|
||||
if (typeof GLOBAL === 'undefined') {
|
||||
global.GLOBAL = global;
|
||||
|
@ -17,6 +17,6 @@ global.__fbBatchedBridgeConfig = {
|
||||
};
|
||||
|
||||
global.Promise = require('promise');
|
||||
global.regeneratorRuntime = require.requireActual('regenerator/runtime');
|
||||
global.regeneratorRuntime = require.requireActual('regenerator-runtime/runtime');
|
||||
|
||||
jest.setMock('ErrorUtils', require('ErrorUtils'));
|
||||
|
@ -165,7 +165,7 @@
|
||||
"react-timer-mixin": "^0.13.2",
|
||||
"react-transform-hmr": "^1.0.4",
|
||||
"rebound": "^0.0.13",
|
||||
"regenerator": "^0.8.36",
|
||||
"regenerator-runtime": "^0.9.5",
|
||||
"sane": "^1.2.0",
|
||||
"semver": "^5.0.3",
|
||||
"source-map": "^0.4.4",
|
||||
|
Loading…
x
Reference in New Issue
Block a user