(spy: Mock, callIndex: number, args: any[])
| 191 | render(h(Comp), root) |
| 192 | |
| 193 | function assertCall(spy: Mock, callIndex: number, args: any[]) { |
| 194 | expect(spy.mock.calls[callIndex].slice(0, 2)).toMatchObject(args) |
| 195 | expect(spy.mock.results[callIndex].value).toBe(ctx) |
| 196 | } |
| 197 | |
| 198 | ctx.foo++ |
| 199 | await nextTick() |