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:
parent
da177d3025
commit
c49b53cb4b
@ -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' });
|
||||
|
Loading…
Reference in New Issue
Block a user