         jest.spyOn(heartBeat, 'monitorDisconnect');         mock.get(/.*/, () => Promise.reject(new Error()));         return heartBeat._checkSession().finally(() => {           expect(coreStore.getters.snackbarIsVisible).toEqual(true);           