(file: string, qualifiedName: string)
| 256 | cg = await CodeGraph.init(root, { index: true }); |
| 257 | const graph = cg; |
| 258 | const node = (file: string, qualifiedName: string): Node => { |
| 259 | const found = graph.getNodesInFile(file).find((n) => n.qualifiedName === qualifiedName); |
| 260 | expect(found, qualifiedName).toBeDefined(); |
| 261 | return found!; |
| 262 | }; |
| 263 | const targets = (file: string, from: string, kind: string): string[] => |
| 264 | [...new Set(graph |
| 265 | .getOutgoingEdgesFrom([node(file, from).id]) |
no test coverage detected