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 08763f7 commit f2f232eCopy full SHA for f2f232e
test/unit/api.test.js
@@ -22,6 +22,9 @@ function initialize() {
22
db = new mongodbLegacy.Db(client, 'animals');
23
collection = new mongodbLegacy.Collection(db, 'pets', {});
24
namespace = MongoDBNamespace.fromString('animals.pets');
25
+
26
+ // TODO(NODE-6712): remove this workaround.
27
+ client.connect();
28
}
29
30
// A map to helpers that can create instances of the overridden classes for testing
0 commit comments