Skip to content

Commit

Permalink
fix hack
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Feb 4, 2025
1 parent 08763f7 commit f2f232e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/unit/api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ function initialize() {
db = new mongodbLegacy.Db(client, 'animals');
collection = new mongodbLegacy.Collection(db, 'pets', {});
namespace = MongoDBNamespace.fromString('animals.pets');

// TODO(NODE-6712): remove this workaround.
client.connect();
}

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

0 comments on commit f2f232e

Please sign in to comment.