feat: Order conversations by priority (#7053)

This commit is contained in:
Muhsin Keloth
2023-05-11 12:56:43 +05:30
committed by GitHub
parent d0a1ad746a
commit 87f758ee1f
7 changed files with 85 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ describe('#messageTimestamp', () => {
describe('#dynamicTime', () => {
it('returns correct value', () => {
Date.now = jest.fn(() => new Date(Date.UTC(2023, 1, 14)).valueOf());
expect(TimeMixin.methods.dynamicTime(1612971343)).toEqual(
'about 2 years ago'
);