(qualifiedName: string)
| 420 | }); |
| 421 | |
| 422 | function node(qualifiedName: string) { |
| 423 | const found = ['class', 'method', 'function', 'type_alias'].flatMap((k) => cg!.getNodesByKind(k as never)) |
| 424 | .filter((n) => n.qualifiedName === qualifiedName); |
| 425 | expect(found, qualifiedName).toHaveLength(1); |
| 426 | return found[0]!; |
| 427 | } |
| 428 | |
| 429 | /** What the calls and references on the line marked `// marker` in `file` reach, as `kind Owner::Name`. */ |
| 430 | function reached(file: string, marker: string): string[] { |
no test coverage detected