(files: Record<string, string>)
| 2682 | |
| 2683 | describe('C++ chained-call receiver resolution (#645)', () => { |
| 2684 | async function indexCpp(files: Record<string, string>): Promise<void> { |
| 2685 | for (const [name, content] of Object.entries(files)) { |
| 2686 | fs.writeFileSync(path.join(tempDir, name), content); |
| 2687 | } |
| 2688 | cg = await CodeGraph.init(tempDir, { index: true }); |
| 2689 | } |
| 2690 | |
| 2691 | function callerNamesOf(qualifiedName: string): string[] { |
| 2692 | const target = cg.getNodesByKind('method').find((n) => n.qualifiedName === qualifiedName); |
no test coverage detected