(name: string)
| 36 | }; |
| 37 | |
| 38 | const callersOf = (name: string): string[] => { |
| 39 | const target = cg.getNodesByKind('function').find((n) => n.name === name); |
| 40 | expect(target, `fixture symbol ${name} was not indexed`).toBeDefined(); |
| 41 | return cg.getCallers(target!.id).filter(c => c.edge.kind === 'calls').map((c) => c.node.name); |
| 42 | }; |
| 43 | |
| 44 | it('follows `export const alias = fn`', async () => { |
| 45 | await index({ |
no test coverage detected