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

This commit is contained in:
Ronald Walker 2020-05-29 00:07:18 -07:00 committed by GitHub
parent a9d93b750c
commit 10a1758261
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
});