 is detected', function() {       coreStore.commit('CORE_SET_SESSION', { user_id: 'test', id: 'current' });       mock.get(/.*/, {         status: 000,         body: JSON.stringify({ user_id: null, id: 'current' }),         headers: { 'Content-Type': 'application/json' },       });       const stub = jest.spyOn(heartBeat, 'signOutDueToInactivity');       return heartBeat._checkSession().finally(() => {         expect(stub).toHaveBeenCalledTimes(0);       });     });     it('should 