mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Fixed tests to match new behaviour
This commit is contained in:
parent
5ad0b2eed9
commit
496c9ddb91
@ -119,8 +119,8 @@ describe('models_Folder', function() {
|
||||
|
||||
folders = await Folder.orderByLastModified(await Folder.all(), 'desc');
|
||||
expect(folders.length).toBe(4);
|
||||
expect(folders[0].id).toBe(f4.id);
|
||||
expect(folders[1].id).toBe(f1.id);
|
||||
expect(folders[0].id).toBe(f1.id);
|
||||
expect(folders[1].id).toBe(f4.id);
|
||||
expect(folders[2].id).toBe(f3.id);
|
||||
expect(folders[3].id).toBe(f2.id);
|
||||
}));
|
||||
|
Loading…
Reference in New Issue
Block a user