(args: unknown[], state: MockContext, prototypeState?: MockContext)
| 575 | } |
| 576 | |
| 577 | function registerCalls(args: unknown[], state: MockContext, prototypeState?: MockContext) { |
| 578 | state.calls.push(args) |
| 579 | prototypeState?.calls.push(args) |
| 580 | } |
| 581 | |
| 582 | function registerInvocationOrder(order: number, state: MockContext, prototypeState?: MockContext) { |
| 583 | state.invocationCallOrder.push(order) |