diff --git a/app/javascript/widget/store/modules/specs/conversation/mutations.spec.js b/app/javascript/widget/store/modules/specs/conversation/mutations.spec.js index 7241dbc2f..1ce076638 100644 --- a/app/javascript/widget/store/modules/specs/conversation/mutations.spec.js +++ b/app/javascript/widget/store/modules/specs/conversation/mutations.spec.js @@ -101,7 +101,7 @@ describe('#mutations', () => { }); it('sets isAgentTyping flag to false', () => { - const state = { uiFlags: { isAgentTyping: false } }; + const state = { uiFlags: { isAgentTyping: true } }; mutations.toggleAgentTypingStatus(state, { status: 'off' }); expect(state.uiFlags.isAgentTyping).toEqual(false); });