Fix Console patching test by resetting modules

This commit is contained in:
Brian Vaughn
2019-08-26 13:53:29 -07:00
parent 04b0a68e3b
commit 83789ebb1c
@@ -13,6 +13,8 @@ describe('console', () => {
let unpatchConsole;
beforeEach(() => {
jest.resetModules();
const Console = require('react-devtools-shared/src/backend/console');
patchConsole = Console.patch;
unpatchConsole = Console.unpatch;