We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 378f605 commit b6a3cb7Copy full SHA for b6a3cb7
docs/recipes/endpoint-testing-with-mongoose.md
@@ -56,7 +56,7 @@ const mongod = new MongoMemoryServer()
56
57
// Create connection to Mongoose before tests are run
58
test.before(async () => {
59
- const uri = await mongod.getConnectionString();
+ const uri = await mongod.getUri();
60
await mongoose.connect(uri, {useMongoClient: true});
61
});
62
```
0 commit comments