(file: string, qualifiedName?: string)
| 95 | }); |
| 96 | |
| 97 | const targetsFrom = (file: string, qualifiedName?: string) => { |
| 98 | const ids = cg.getNodesInFile(file).filter((n) => !qualifiedName || n.qualifiedName === qualifiedName).map((n) => n.id); |
| 99 | return cg.getOutgoingEdgesFrom(ids).filter((e) => e.kind === 'references' || e.kind === 'calls') |
| 100 | .map((e) => cg.getNode(e.target)!).map((t) => `${t.filePath}:${t.qualifiedName}`); |
| 101 | }; |
| 102 | |
| 103 | describe('Python names passed as values', () => { |
| 104 | it('never reach a function nested in another function', () => { |
no test coverage detected