(name: string)
| 55 | } |
| 56 | |
| 57 | function findMethod(name: string) { |
| 58 | const hit = cg |
| 59 | .searchNodes(name) |
| 60 | .find((r) => (r.node.kind === 'method' || r.node.kind === 'function') && r.node.name === name); |
| 61 | expect(hit, `expected an indexed definition of ${name}`).toBeDefined(); |
| 62 | return hit!.node; |
| 63 | } |
| 64 | |
| 65 | describe('sync() heals an interrupted resolution run', () => { |
| 66 | beforeEach(async () => { |
no test coverage detected