Skip to content

Commit 7e35f7d

Browse files
authored
Fix deprecation warning by using mongod.getUri()
1 parent ec24659 commit 7e35f7d

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)