(file: string, qualifiedName: string)
| 202 | const find = (file: string, qualifiedName: string): Node | undefined => |
| 203 | graph.getNodesInFile(file).find((n) => n.qualifiedName === qualifiedName); |
| 204 | const node = (file: string, qualifiedName: string): Node => { |
| 205 | const found = find(file, qualifiedName); |
| 206 | expect(found, `${file} ${qualifiedName}`).toBeDefined(); |
| 207 | return found!; |
| 208 | }; |
| 209 | const targets = (from: Node, kind: string): string[] => |
| 210 | [...new Set(graph |
| 211 | .getOutgoingEdgesFrom([from.id]) |
no test coverage detected