diff --git a/react-packager/src/BundlesLayout/__tests__/BundlesLayoutIntegration-test.js b/react-packager/src/BundlesLayout/__tests__/BundlesLayoutIntegration-test.js index fe4481a0..00868b22 100644 --- a/react-packager/src/BundlesLayout/__tests__/BundlesLayoutIntegration-test.js +++ b/react-packager/src/BundlesLayout/__tests__/BundlesLayoutIntegration-test.js @@ -36,6 +36,7 @@ describe('BundlesLayout', () => { 'polyfills/String.prototype.es6.js', 'polyfills/Array.prototype.es6.js', 'polyfills/Array.es6.js', + 'polyfills/Object.es7.js', 'polyfills/babelHelpers.js', ]; const baseFs = getBaseFs(); diff --git a/react-packager/src/Resolver/__tests__/Resolver-test.js b/react-packager/src/Resolver/__tests__/Resolver-test.js index 825399b4..b542d43b 100644 --- a/react-packager/src/Resolver/__tests__/Resolver-test.js +++ b/react-packager/src/Resolver/__tests__/Resolver-test.js @@ -138,6 +138,18 @@ describe('Resolver', function() { 'polyfills/Array.prototype.es6.js', ], }, + { id: 'polyfills/Object.es7.js', + isPolyfill: true, + path: 'polyfills/Object.es7.js', + dependencies: [ + 'polyfills/polyfills.js', + 'polyfills/console.js', + 'polyfills/error-guard.js', + 'polyfills/String.prototype.es6.js', + 'polyfills/Array.prototype.es6.js', + 'polyfills/Array.es6.js', + ], + }, { id: 'polyfills/babelHelpers.js', isPolyfill: true, path: 'polyfills/babelHelpers.js', @@ -148,6 +160,7 @@ describe('Resolver', function() { 'polyfills/String.prototype.es6.js', 'polyfills/Array.prototype.es6.js', 'polyfills/Array.es6.js', + 'polyfills/Object.es7.js', ], }, ]); @@ -211,6 +224,7 @@ describe('Resolver', function() { 'polyfills/String.prototype.es6.js', 'polyfills/Array.prototype.es6.js', 'polyfills/Array.es6.js', + 'polyfills/Object.es7.js', 'polyfills/babelHelpers.js', ] },