(value: number)
| 265 | }); |
| 266 | |
| 267 | function expectOnExplain(value: number) { |
| 268 | return function () { |
| 269 | const [{ command }] = commands; |
| 270 | expect(command).to.have.property('maxTimeMS', value); |
| 271 | }; |
| 272 | } |
| 273 | |
| 274 | function expectNotOnExplain() { |
| 275 | return function () { |