(name: string, data?: T)
| 133 | }, |
| 134 | |
| 135 | expect(name: string, data?: T) { |
| 136 | if (queue.length === 0) { |
| 137 | return this.expectWait(name, data); |
| 138 | } |
| 139 | return this.expectNow(name, data); |
| 140 | }, |
| 141 | |
| 142 | start() { |
| 143 | hasStarted = true; |
no outgoing calls