(name: string, file: string)
| 368 | const graph = cg; |
| 369 | |
| 370 | const one = (name: string, file: string): Node => { |
| 371 | const found = graph.getNodesByName(name).filter((n) => n.filePath === file && n.kind !== 'import'); |
| 372 | expect(found, `${name} in ${file}`).toHaveLength(1); |
| 373 | return found[0]!; |
| 374 | }; |
| 375 | const where = (n: Node | null) => `${n?.name}@${n?.filePath}`; |
| 376 | |
| 377 | const sources = [ |
no test coverage detected