(file: string, fn: string)
| 61 | }); |
| 62 | |
| 63 | const callsIn = (file: string, fn: string): string[] => { |
| 64 | const node = cg.getNodesInFile(file).find((n) => n.name === fn)!; |
| 65 | return cg.getOutgoingEdges(node.id).filter((e) => e.kind === 'calls').map((e) => cg.getNode(e.target)!.qualifiedName); |
| 66 | }; |
| 67 | |
| 68 | describe('a receiver declared with an outside type', () => { |
| 69 | it('Java: `List<String> list` calls List.add, not a project class’s add', () => { |
no test coverage detected