(file: string, from: string, kind: string)
| 261 | return found!; |
| 262 | }; |
| 263 | const targets = (file: string, from: string, kind: string): string[] => |
| 264 | [...new Set(graph |
| 265 | .getOutgoingEdgesFrom([node(file, from).id]) |
| 266 | .filter((e) => e.kind === kind) |
| 267 | .map((e) => graph.getNode(e.target)!.qualifiedName))] |
| 268 | .sort(); |
| 269 | |
| 270 | // No class is named `const`, and each is found by its own name. |
| 271 | expect(graph.getNodesInFile('lib/forms.dart').filter((n) => n.name === 'const')).toEqual([]); |
no test coverage detected