(notes: ReturnType<typeof createTestNote>[])
| 8 | Logger.setLevel('error'); |
| 9 | |
| 10 | function makeWorkspaceAndGraph(notes: ReturnType<typeof createTestNote>[]) { |
| 11 | const workspace = createTestWorkspace(); |
| 12 | notes.forEach(n => workspace.set(n)); |
| 13 | const graph = FoamGraph.fromWorkspace(workspace, false); |
| 14 | return { workspace, graph }; |
| 15 | } |
| 16 | |
| 17 | describe('renderDqlQuery — warning escaping', () => { |
| 18 | it('escapes user-controlled filter text in warnings to prevent HTML injection', () => { |
no test coverage detected