()
| 546 | } |
| 547 | |
| 548 | function greetDef(): { id: string; filePath: string } | undefined { |
| 549 | const results = cg.searchNodes('greet'); |
| 550 | const def = results.map((r) => r.node).find((n) => n.kind === 'function' && n.name === 'greet'); |
| 551 | return def ? { id: def.id, filePath: def.filePath } : undefined; |
| 552 | } |
| 553 | |
| 554 | function greetCallers(): string[] { |
| 555 | const def = greetDef(); |
no test coverage detected