Skip to content

Commit

Permalink
Fixed path to regenerator-runtime
Browse files Browse the repository at this point in the history
Summary:
Since 0.8.43 regenerator has regenerator-runtime dependency.
Fixes one js test in trunk
Closes #7351

Reviewed By: davidaurelio

Differential Revision: D3252699

Pulled By: bestander

fb-gh-sync-id: cedb122eb8e9f3a5e40a5313482bc2282511c71e
fbshipit-source-id: cedb122eb8e9f3a5e40a5313482bc2282511c71e
  • Loading branch information
bestander authored and Facebook Github Bot 7 committed May 4, 2016
1 parent 46d98e1 commit ec5016a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion IntegrationTests/RCTRootViewIntegrationTestApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/
'use strict';

require('regenerator/runtime');
require('regenerator-runtime/runtime');

var React = require('react');
var ReactNative = require('react-native');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion jestSupport/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ec5016a

Please sign in to comment.