From 29d76b27bb2a538724a018cb98891cc77bcea28a Mon Sep 17 00:00:00 2001 From: Durran Jordan Date: Wed, 13 Nov 2024 19:09:05 +0100 Subject: [PATCH] test(NODE-6528): instantiate collection with options --- test/unit/api.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/api.test.js b/test/unit/api.test.js index 2fbac15..6169362 100644 --- a/test/unit/api.test.js +++ b/test/unit/api.test.js @@ -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