(file: string)
| 65 | }); |
| 66 | |
| 67 | const targetsFrom = (file: string) => { |
| 68 | const ids = cg.getNodesInFile(file).map((n) => n.id); |
| 69 | return cg.getOutgoingEdgesFrom(ids).filter((e) => e.kind !== 'contains') |
| 70 | .map((e) => cg.getNode(e.target)!).map((t) => `${t.filePath}:${t.qualifiedName}`); |
| 71 | }; |
| 72 | |
| 73 | describe('Rust framework name heuristics', () => { |
| 74 | it('never reach an item declared inside a function body', () => { |
no test coverage detected