| 557 | const spyCUM = vi.fn() |
| 558 | |
| 559 | function assertCount(calls: number[]) { |
| 560 | expect([ |
| 561 | spyAC.mock.calls.length, |
| 562 | spyAA.mock.calls.length, |
| 563 | spyADA.mock.calls.length, |
| 564 | spyAUM.mock.calls.length, |
| 565 | spyBC.mock.calls.length, |
| 566 | spyBA.mock.calls.length, |
| 567 | spyBDA.mock.calls.length, |
| 568 | spyBUM.mock.calls.length, |
| 569 | spyCC.mock.calls.length, |
| 570 | spyCA.mock.calls.length, |
| 571 | spyCDA.mock.calls.length, |
| 572 | spyCUM.mock.calls.length, |
| 573 | ]).toEqual(calls) |
| 574 | } |
| 575 | |
| 576 | const viewRef = ref('a') |
| 577 | const views: Record<string, ComponentOptions> = { |