diff --git a/react-packager/src/Resolver/polyfills/__tests__/Object.es7-test.js b/react-packager/src/Resolver/polyfills/__tests__/Object.es7-test.js index 016ab9e4..9024d97f 100644 --- a/react-packager/src/Resolver/polyfills/__tests__/Object.es7-test.js +++ b/react-packager/src/Resolver/polyfills/__tests__/Object.es7-test.js @@ -19,7 +19,7 @@ describe('Object (ES7)', () => { beforeEach(() => { delete Object.entries; delete Object.values; - jest.resetModuleRegistry(); + jest.resetModules(); require('../Object.es7'); });