Skip to content

Commit f4b9800

Browse files
authored
Merge pull request #267 from simonbrunel/patch-1
Fix deprecation warning by using mongod.getUri()
2 parents b302451 + 7e35f7d commit f4b9800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = async () => {
1616
const options = getMongodbMemoryOptions();
1717

1818
const mongoConfig = {
19-
mongoUri: await mongod.getConnectionString(),
19+
mongoUri: await mongod.getUri(),
2020
mongoDBName: options.instance.dbName
2121
};
2222

0 commit comments

Comments
 (0)