(file: string, fn: string)
| 75 | }); |
| 76 | |
| 77 | const callsIn = (file: string, fn: string): string[] => { |
| 78 | const node = cg.getNodesInFile(file).find((n) => n.name === fn)!; |
| 79 | return cg.getOutgoingEdges(node.id).filter((e) => e.kind === 'calls').map((e) => cg.getNode(e.target)!.qualifiedName); |
| 80 | }; |
| 81 | |
| 82 | describe('Rust and Go call shapes', () => { |
| 83 | it('Rust: bare never a method, std chain names need their receiver, project chain names keep theirs', () => { |
no test coverage detected