(value: number)
| 279 | } |
| 280 | |
| 281 | function expectOnCommand(value: number) { |
| 282 | return function () { |
| 283 | const [ |
| 284 | { |
| 285 | command: { explain } |
| 286 | } |
| 287 | ] = commands; |
| 288 | expect(explain).to.have.property('maxTimeMS', value); |
| 289 | }; |
| 290 | } |
| 291 | function expectNotOnCommand() { |
| 292 | return function () { |
| 293 | const [ |