diff --git a/IntegrationTests/RCTRootViewIntegrationTestApp.js b/IntegrationTests/RCTRootViewIntegrationTestApp.js index 6afda59cd68..dafacaeb4a9 100644 --- a/IntegrationTests/RCTRootViewIntegrationTestApp.js +++ b/IntegrationTests/RCTRootViewIntegrationTestApp.js @@ -9,8 +9,6 @@ 'use strict'; -require('regenerator-runtime/runtime'); - const React = require('react'); const ReactNative = require('react-native'); diff --git a/jest/setup.js b/jest/setup.js index 491260d931c..0e0a7a009a3 100644 --- a/jest/setup.js +++ b/jest/setup.js @@ -92,7 +92,6 @@ jest }) .mock('ensureComponentIsNative', () => () => true); -const mockEmptyObject = {}; const mockNativeModules = { AlertManager: { alertWithArgs: jest.fn(), diff --git a/package.json b/package.json index f5d944beb7d..bc95819db22 100644 --- a/package.json +++ b/package.json @@ -149,6 +149,7 @@ "react": "16.5.0" }, "dependencies": { + "@babel/runtime": "^7.0.0", "absolute-path": "^0.0.0", "art": "^0.10.0", "base64-js": "^1.1.2", diff --git a/rn-get-polyfills.js b/rn-get-polyfills.js index db65ff2245b..14fe35d741b 100644 --- a/rn-get-polyfills.js +++ b/rn-get-polyfills.js @@ -18,5 +18,4 @@ module.exports = () => [ require.resolve('./Libraries/polyfills/Array.prototype.es6.js'), require.resolve('./Libraries/polyfills/Array.es6.js'), require.resolve('./Libraries/polyfills/Object.es7.js'), - require.resolve('./Libraries/polyfills/babelHelpers.js'), ];