Skip to content

Commit 29d76b2

Browse files
committed
test(NODE-6528): instantiate collection with options
1 parent 48295c7 commit 29d76b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/api.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const { byStrings, sorted, runMicroTask } = require('../tools/utils');
1313
const iLoveJs = 'mongodb://iLoveJavascript';
1414
const client = new mongodbLegacy.MongoClient(iLoveJs);
1515
const db = new mongodbLegacy.Db(client, 'animals');
16-
const collection = new mongodbLegacy.Collection(db, 'pets');
16+
const collection = new mongodbLegacy.Collection(db, 'pets', {});
1717
const namespace = MongoDBNamespace.fromString('animals.pets');
1818

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

0 commit comments

Comments
 (0)