Skip to content

Commit

Permalink
test(NODE-6528): instantiate collection with options
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Nov 13, 2024
1 parent 48295c7 commit 29d76b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const { byStrings, sorted, runMicroTask } = require('../tools/utils');
const iLoveJs = 'mongodb://iLoveJavascript';
const client = new mongodbLegacy.MongoClient(iLoveJs);
const db = new mongodbLegacy.Db(client, 'animals');
const collection = new mongodbLegacy.Collection(db, 'pets');
const collection = new mongodbLegacy.Collection(db, 'pets', {});
const namespace = MongoDBNamespace.fromString('animals.pets');

// A map to helpers that can create instances of the overridden classes for testing
Expand Down

0 comments on commit 29d76b2

Please sign in to comment.