()
| 652 | } |
| 653 | |
| 654 | function greetDef(): { id: string; filePath: string } | undefined { |
| 655 | const results = cg.searchNodes('greet'); |
| 656 | const def = results.map((r) => r.node).find((n) => n.kind === 'function' && n.name === 'greet'); |
| 657 | return def ? { id: def.id, filePath: def.filePath } : undefined; |
| 658 | } |
| 659 | |
| 660 | function greetCallers(): string[] { |
| 661 | const def = greetDef(); |
no test coverage detected