feat: Add a read indicator for web-widget channel (#4224)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
@@ -372,6 +372,15 @@ describe('#actions', () => {
|
||||
expect(commit.mock.calls).toEqual([[types.CLEAR_CONVERSATION_FILTERS]]);
|
||||
});
|
||||
});
|
||||
|
||||
describe('#updateConversationRead', () => {
|
||||
it('commits the correct mutation and sets the contact_last_seen', () => {
|
||||
actions.updateConversationRead({ commit }, 1649856659);
|
||||
expect(commit.mock.calls).toEqual([
|
||||
[types.SET_CONVERSATION_LAST_SEEN, 1649856659],
|
||||
]);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('#deleteMessage', () => {
|
||||
|
||||
Reference in New Issue
Block a user