From f75a9d4a64f15aab75edc7fd066d3cd3faf352b9 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Fri, 27 May 2022 12:02:31 +0100 Subject: [PATCH] Chore: Fixed tests --- packages/lib/models/Note.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/lib/models/Note.test.ts b/packages/lib/models/Note.test.ts index db55d4b007..4ffdfbd7f0 100644 --- a/packages/lib/models/Note.test.ts +++ b/packages/lib/models/Note.test.ts @@ -61,8 +61,8 @@ describe('models/Note', function() { const t = testCases[i]; const input = t[0] as string; - const expected = t[1]; - const actual = Note.linkedItemIds(input); + const expected = t[1] as string[]; + const actual = Note.linkedItemIds(input) as string[]; const contentEquals = ArrayUtils.contentEquals(actual, expected); // console.info(contentEquals, input, expected, actual);