diff --git a/packages/botonic-react/tests/webchat/storage.test.jsx b/packages/botonic-react/tests/webchat/storage.test.jsx index 6a24e3c9e..675a287f3 100644 --- a/packages/botonic-react/tests/webchat/storage.test.jsx +++ b/packages/botonic-react/tests/webchat/storage.test.jsx @@ -29,7 +29,7 @@ describe('TEST: storage', () => { expect(botonicState.session.user).toHaveProperty('id' && 'name') expect(botonicState).toHaveProperty('messages', []) expect(botonicState).toHaveProperty('session') - expect(botonicState).toHaveProperty('lastRoutePath', null) + expect(botonicState.lastRoutePath).toBe(undefined) expect(botonicState).toHaveProperty('devSettings', { keepSessionOnReload: false, })