()
| 289 | }; |
| 290 | } |
| 291 | function expectNotOnCommand() { |
| 292 | return function () { |
| 293 | const [ |
| 294 | { |
| 295 | command: { explain } |
| 296 | } |
| 297 | ] = commands; |
| 298 | expect(explain).not.to.have.property('maxTimeMS'); |
| 299 | }; |
| 300 | } |
| 301 | }); |
| 302 | |
| 303 | describe('explain with timeoutMS', function () { |