MCPcopy
hub / github.com/mongodb/node-mongodb-native / expectOnCommand

Function expectOnCommand

test/integration/crud/explain.test.ts:281–290  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

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 [

Callers 1

explain.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected