Bug: Fix false positive in #toggleAgentTypingStatus spec (#899)

This commit is contained in:
Ronald Walker
2020-05-29 12:37:18 +05:30
committed by GitHub
parent a9d93b750c
commit 10a1758261
@@ -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);
});