We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48295c7 commit 29d76b2Copy full SHA for 29d76b2
test/unit/api.test.js
@@ -13,7 +13,7 @@ const { byStrings, sorted, runMicroTask } = require('../tools/utils');
13
const iLoveJs = 'mongodb://iLoveJavascript';
14
const client = new mongodbLegacy.MongoClient(iLoveJs);
15
const db = new mongodbLegacy.Db(client, 'animals');
16
-const collection = new mongodbLegacy.Collection(db, 'pets');
+const collection = new mongodbLegacy.Collection(db, 'pets', {});
17
const namespace = MongoDBNamespace.fromString('animals.pets');
18
19
// A map to helpers that can create instances of the overridden classes for testing
0 commit comments