Adds unread message bubbles for widget (#943)
Co-authored-by: Sojan <sojan@pepalo.com> Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
This commit is contained in:
committed by
GitHub
parent
6a7d810c95
commit
49db9c5d8a
@@ -86,4 +86,12 @@ describe('#actions', () => {
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('#setUserLastSeen', () => {
|
||||
it('sends correct mutations', () => {
|
||||
const lastSeen = Math.abs(Date.now() / 1000);
|
||||
actions.setUserLastSeen({ commit }, { lastSeen });
|
||||
expect(commit).toBeCalledWith('setMetaUserLastSeenAt', lastSeen);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user