Skip to content

Commit

Permalink
test: upgrade MongoMemoryServer to v4.4.18
Browse files Browse the repository at this point in the history
  • Loading branch information
kristina committed Feb 9, 2023
1 parent 6e3a64d commit 721abef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/support/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ const MongoClient = require('mongodb');

function start() {
return new MongoMemoryServer({
binary: { version: '4.0.12' },
binary: { version: '4.4.18' },
});
}

async function db(mongod, driver = null) {
const uri = await mongod.getConnectionString();
const uri = await mongod.getUri();
if (driver === 'mongoist') {
return mongoist(uri);
}
Expand Down

0 comments on commit 721abef

Please sign in to comment.