1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-06 09:19:22 +02:00

Chore: Complete Jest upgrade

This commit is contained in:
Laurent Cozic
2022-11-15 10:23:50 +00:00
parent 33b96b4c65
commit 64199704c2
90 changed files with 118 additions and 346 deletions

View File

@@ -408,7 +408,7 @@ describe('UserModel', function() {
const { user: user1 } = await createUserAndSession(1);
const { user: user2 } = await createUserAndSession(2);
jest.useFakeTimers('modern');
jest.useFakeTimers();
const t0 = new Date('2022-01-01').getTime();
jest.setSystemTime(t0);