(ids: string[], edges: Edge[])
| 769 | }); |
| 770 | |
| 771 | function seed(ids: string[], edges: Edge[]) { |
| 772 | for (const id of ids) { |
| 773 | cg['queries'].insertNode({ ...tNode(id), filePath: 'graph.ts' }); |
| 774 | } |
| 775 | edges.forEach((edge, i) => cg['queries'].insertEdge({ ...edge, line: i + 1 })); |
| 776 | } |
| 777 | |
| 778 | it('enqueues each dense fan-in target once while preserving the shortest path', () => { |
| 779 | const layerA = Array.from({ length: 16 }, (_, i) => `a${i}`); |
no test coverage detected