Replace jest.resetModuleRegistry() with jest.resetModules()

Reviewed By: cpojer

Differential Revision: D4344961

fbshipit-source-id: 45453ec7ee3211743946ab9156f51430322b5832
This commit is contained in:
Alan Norbauer 2016-12-18 17:02:57 -08:00 committed by Facebook Github Bot
parent c486c707de
commit d398030b69
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ describe('Object (ES7)', () => {
beforeEach(() => { beforeEach(() => {
delete Object.entries; delete Object.entries;
delete Object.values; delete Object.values;
jest.resetModuleRegistry(); jest.resetModules();
require('../Object.es7'); require('../Object.es7');
}); });