(ids: string[], edges: Edge[])
| 993 | }); |
| 994 | |
| 995 | function seed(ids: string[], edges: Edge[]) { |
| 996 | for (const id of ids) { |
| 997 | cg['queries'].insertNode({ ...tNode(id), filePath: 'graph.ts' }); |
| 998 | } |
| 999 | edges.forEach((edge, i) => cg['queries'].insertEdge({ ...edge, line: i + 1 })); |
| 1000 | } |
| 1001 | |
| 1002 | it('enqueues each dense fan-in target once while preserving the shortest path', () => { |
| 1003 | const layerA = Array.from({ length: 16 }, (_, i) => `a${i}`); |
no test coverage detected