From b99ba85acd02213ed0c8d30d3d2468f2ff9b4ee9 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Mon, 15 May 2023 18:14:26 +0100 Subject: [PATCH] Fixed tests --- packages/lib/services/synchronizer/ItemUploader.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lib/services/synchronizer/ItemUploader.test.ts b/packages/lib/services/synchronizer/ItemUploader.test.ts index f580f68677..0d2cd3fc37 100644 --- a/packages/lib/services/synchronizer/ItemUploader.test.ts +++ b/packages/lib/services/synchronizer/ItemUploader.test.ts @@ -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])); }));