feat: Allow users to mark a conversation as unread (#5924)
Allow users to mark conversations as unread. Loom video: https://www.loom.com/share/ab70552d3c9c48b685da7dfa64be8bb3 fixes: #5552 Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
@@ -4,13 +4,6 @@ import commonHelpers from '../../helper/commons';
|
||||
commonHelpers();
|
||||
|
||||
describe('#conversationMixin', () => {
|
||||
it('should return unread message count 2 if conversation is passed', () => {
|
||||
expect(
|
||||
conversationMixin.methods.unreadMessagesCount(
|
||||
conversationFixture.conversation
|
||||
)
|
||||
).toEqual(2);
|
||||
});
|
||||
it('should return read messages if conversation is passed', () => {
|
||||
expect(
|
||||
conversationMixin.methods.readMessages(conversationFixture.conversation)
|
||||
|
||||
Reference in New Issue
Block a user