mirror of https://github.com/status-im/metro.git
Replace jest.resetModuleRegistry() with jest.resetModules()
Reviewed By: cpojer Differential Revision: D4344961 fbshipit-source-id: 45453ec7ee3211743946ab9156f51430322b5832
This commit is contained in:
parent
c486c707de
commit
d398030b69
|
@ -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');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue