Fix Console patching test by resetting modules

This commit is contained in:
Brian Vaughn committed 2019-08-26 13:53:29 -07:00
1 parent 177f357d9d
commit e3cc42be97
1 file changed
+2
@@ -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;