(notes: ReturnType<typeof createTestNote>[])
| 10 | // Helper: build a workspace + graph from a list of notes. |
| 11 | // Notes are added in order — links are resolved against whatever is in the workspace. |
| 12 | function makeWorkspaceAndGraph(notes: ReturnType<typeof createTestNote>[]) { |
| 13 | const workspace = createTestWorkspace(); |
| 14 | notes.forEach(n => workspace.set(n)); |
| 15 | const graph = FoamGraph.fromWorkspace(workspace, false); |
| 16 | return { workspace, graph }; |
| 17 | } |
| 18 | |
| 19 | // ─── parseFilter ───────────────────────────────────────────────────────────── |
| 20 |
no test coverage detected