Bug: Fix false positive in #toggleAgentTypingStatus spec (#899)
This commit is contained in:
parent
a9d93b750c
commit
10a1758261
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ describe('#mutations', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('sets isAgentTyping flag to false', () => {
|
it('sets isAgentTyping flag to false', () => {
|
||||||
const state = { uiFlags: { isAgentTyping: false } };
|
const state = { uiFlags: { isAgentTyping: true } };
|
||||||
mutations.toggleAgentTypingStatus(state, { status: 'off' });
|
mutations.toggleAgentTypingStatus(state, { status: 'off' });
|
||||||
expect(state.uiFlags.isAgentTyping).toEqual(false);
|
expect(state.uiFlags.isAgentTyping).toEqual(false);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue