1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

Tools: Trying to fix flaky test

This commit is contained in:
Laurent Cozic 2023-07-22 15:32:09 +01:00
parent da177d3025
commit c49b53cb4b

View File

@ -456,7 +456,7 @@ describe('services/RevisionService', () => {
await Note.save({ id: n1_v0.id, title: 'hello' });
await revisionService().collectRevisions(); // REV 1
const timeRev1 = Date.now();
await msleep(100);
await msleep(200);
const timeRev2 = Date.now();
await Note.save({ id: n1_v0.id, title: 'hello 2' });