(file: string, line: number, kind?: string)
| 141 | |
| 142 | const qualifiedNames = (file: string) => cg.getNodesInFile(file).filter((n) => n.kind !== 'file').map((n) => `${n.kind} ${n.qualifiedName}`); |
| 143 | const targetsAt = (file: string, line: number, kind?: string) => { |
| 144 | const ids = cg.getNodesInFile(file).map((n) => n.id); |
| 145 | return cg.getOutgoingEdgesFrom(ids).filter((e) => e.line === line && (!kind || e.kind === kind)) |
| 146 | .map((e) => cg.getNode(e.target)!).map((t) => `${t.kind} ${t.filePath}:${t.qualifiedName}`); |
| 147 | }; |
| 148 | |
| 149 | describe('C# namespaces, usings and nested types', () => { |
| 150 | it('a block namespace qualifies only its own body', () => { |
no test coverage detected