(file: string, name: string)
| 219 | |
| 220 | /** `file:class` of what the class `name` in `file` extends. */ |
| 221 | const bases = (file: string, name: string): string[] => { |
| 222 | const node = cg.getNodesInFile(file).find((n) => n.name === name && n.kind === 'class')!; |
| 223 | expect(node, name).toBeDefined(); |
| 224 | return cg.getOutgoingEdges(node.id).filter((e) => e.kind === 'extends').map((e) => { |
| 225 | const target = cg.getNode(e.target)!; |
| 226 | return `${target.filePath}:${target.name}`; |
| 227 | }); |
| 228 | }; |
| 229 | |
| 230 | describe('a Python base imported from outside the project', () => { |
| 231 | it('links no project class of that name, plain or parameterized', () => { |
no test coverage detected