diff --git a/src/utils/auth/migration.test.ts b/src/utils/auth/migration.test.ts index 9a65101bd..12832ab4c 100644 --- a/src/utils/auth/migration.test.ts +++ b/src/utils/auth/migration.test.ts @@ -9,6 +9,8 @@ import { migrateAuthenticatedAccounts, } from './migration'; +jest.spyOn(console, 'log').mockImplementation(() => null); + describe('utils/auth/migration.ts', () => { beforeEach(() => { // axios will default to using the XHR adapter which can't be intercepted @@ -34,6 +36,7 @@ describe('utils/auth/migration.ts', () => { await migrateAuthenticatedAccounts(); expect(localStorage.setItem).toHaveBeenCalledTimes(1); + expect(console.log).toHaveBeenCalledTimes(2); }); });