(qualifiedName: string)
| 263 | cg = await CodeGraph.init(root, { index: true }); |
| 264 | const graph = cg; |
| 265 | const node = (qualifiedName: string): Node => { |
| 266 | const found = graph.getNodesInFile('lib/app.dart').find((n) => n.qualifiedName === qualifiedName); |
| 267 | expect(found, qualifiedName).toBeDefined(); |
| 268 | return found!; |
| 269 | }; |
| 270 | const targets = (from: string, kind: string): string[] => |
| 271 | [...new Set(graph |
| 272 | .getOutgoingEdgesFrom([node(from).id]) |
no test coverage detected