(file: string, qualifiedName: string)
| 163 | cg = await CodeGraph.init(root, { index: true }); |
| 164 | const graph = cg; |
| 165 | const node = (file: string, qualifiedName: string): Node => { |
| 166 | const found = graph.getNodesInFile(file).find((n) => n.qualifiedName === qualifiedName); |
| 167 | expect(found, `${file} ${qualifiedName}`).toBeDefined(); |
| 168 | return found!; |
| 169 | }; |
| 170 | const targets = (from: Node, kind: string): string[] => |
| 171 | [...new Set(graph |
| 172 | .getOutgoingEdgesFrom([from.id]) |
no test coverage detected