Fixed tests

pull/8183/head
Laurent Cozic 2023-05-15 18:14:26 +01:00
parent a0b707cbda
commit b99ba85acd
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ describe('synchronizer/ItemUploader', () => {
await itemUploader.preUploadItems(notes);
await expectNotThrow(async () => itemUploader.serializeAndUploadItem(Note, BaseItem.systemPath(notes[0]), notes[0]));
await expectThrow(async () => itemUploader.serializeAndUploadItem(Note, BaseItem.systemPath(notes[1]), notes[1]));
await expectThrow(async () => itemUploader.serializeAndUploadItem(Note, BaseItem.systemPath(notes[1]), notes[1]), null);
await expectNotThrow(async () => itemUploader.serializeAndUploadItem(Note, BaseItem.systemPath(notes[2]), notes[2]));
}));