mirror of
https://github.com/zadam/trilium.git
synced 2025-12-03 22:14:24 +01:00
Merge branch 'main' into feature/unify_dayjs
This commit is contained in:
commit
8fdda59440
@ -24,7 +24,7 @@ describe("Board data", () => {
|
|||||||
parentNoteId: "note1"
|
parentNoteId: "note1"
|
||||||
});
|
});
|
||||||
froca.branches["note1_note2"] = branch;
|
froca.branches["note1_note2"] = branch;
|
||||||
froca.getNoteFromCache("note1").addChild("note2", "note1_note2", false);
|
froca.getNoteFromCache("note1")!.addChild("note2", "note1_note2", false);
|
||||||
const data = await getBoardData(parentNote, "status", {}, false);
|
const data = await getBoardData(parentNote, "status", {}, false);
|
||||||
const noteIds = Array.from(data.byColumn.values()).flat().map(item => item.note.noteId);
|
const noteIds = Array.from(data.byColumn.values()).flat().map(item => item.note.noteId);
|
||||||
expect(noteIds.length).toBe(3);
|
expect(noteIds.length).toBe(3);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user