mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
Chore: Fixed tests
This commit is contained in:
parent
7168e0dc90
commit
f75a9d4a64
@ -61,8 +61,8 @@ describe('models/Note', function() {
|
|||||||
const t = testCases[i];
|
const t = testCases[i];
|
||||||
|
|
||||||
const input = t[0] as string;
|
const input = t[0] as string;
|
||||||
const expected = t[1];
|
const expected = t[1] as string[];
|
||||||
const actual = Note.linkedItemIds(input);
|
const actual = Note.linkedItemIds(input) as string[];
|
||||||
const contentEquals = ArrayUtils.contentEquals(actual, expected);
|
const contentEquals = ArrayUtils.contentEquals(actual, expected);
|
||||||
|
|
||||||
// console.info(contentEquals, input, expected, actual);
|
// console.info(contentEquals, input, expected, actual);
|
||||||
|
Loading…
Reference in New Issue
Block a user