Merge branch 'main' into main

This commit is contained in:
Elian Doran 2025-12-03 20:05:00 +00:00 committed by GitHub
commit e15bc5a232
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);