()
| 568 | } |
| 569 | |
| 570 | function greetDef(): { id: string; filePath: string } | undefined { |
| 571 | const results = cg.searchNodes('greet'); |
| 572 | const def = results.map((r) => r.node).find((n) => n.kind === 'function' && n.name === 'greet'); |
| 573 | return def ? { id: def.id, filePath: def.filePath } : undefined; |
| 574 | } |
| 575 | |
| 576 | function greetCallers(): string[] { |
| 577 | const def = greetDef(); |
no test coverage detected