(caller: string)
| 369 | }); |
| 370 | try { |
| 371 | const signatures = (caller: string) => |
| 372 | cg |
| 373 | .getCallees(fn(cg, caller).id) |
| 374 | .filter((r) => r.edge.kind === 'calls') |
| 375 | .map((r) => r.node.signature); |
| 376 | expect(signatures('default_use')).toEqual(['()']); |
| 377 | expect(signatures('two_use')).toEqual(['(int a, int b = 2)']); |
| 378 | // `Widget(int)` and `Widget(int, int = 2)` both admit one argument. |
no test coverage detected