(files: Record<string, string>)
| 4431 | |
| 4432 | describe('C++ chained-call receiver resolution (#645)', () => { |
| 4433 | async function indexCpp(files: Record<string, string>): Promise<void> { |
| 4434 | for (const [name, content] of Object.entries(files)) { |
| 4435 | fs.writeFileSync(path.join(tempDir, name), content); |
| 4436 | } |
| 4437 | cg = await CodeGraph.init(tempDir, { index: true }); |
| 4438 | } |
| 4439 | |
| 4440 | function callerNamesOf(qualifiedName: string): string[] { |
| 4441 | const target = cg.getNodesByKind('method').find((n) => n.qualifiedName === qualifiedName); |
no test coverage detected