()
| 101 | const graph = await CodeGraph.init(root, { index: true }); |
| 102 | graphs.push(graph); |
| 103 | const links = () => { |
| 104 | const nodes = graph.getFiles().flatMap((f) => graph.getNodesInFile(f.path)); |
| 105 | return graph.getOutgoingEdgesFrom(nodes.map((n) => n.id), ['calls']) |
| 106 | .map((e) => `${e.metadata?.refName} -> ${graph.getNode(e.target)?.qualifiedName}`); |
| 107 | }; |
| 108 | expect(links()).toEqual([]); |
| 109 | |
| 110 | write(root, service); |
no test coverage detected