(qualifiedName: string)
| 117 | cg = await CodeGraph.init(root, { index: true }); |
| 118 | const graph = cg; |
| 119 | const node = (qualifiedName: string): Node => { |
| 120 | const found = graph.getNodesInFile('test/scope_test.dart').find((n) => n.qualifiedName === qualifiedName); |
| 121 | expect(found, qualifiedName).toBeDefined(); |
| 122 | return found!; |
| 123 | }; |
| 124 | const targets = (from: string, kind: string): string[] => |
| 125 | [...new Set(graph |
| 126 | .getOutgoingEdgesFrom([node(from).id]) |
no test coverage detected