Skip to content

Commit 21e309b

Browse files
leonardomerlinnodkz
authored andcommitted
docs(typo): from "mongoServer" to "mongod" (#53)
Sometimes you use the name "mongoServer" and sometimes "mongod" to represent the instance of MongodbMemoryServer. How could we improve the consistency of documentation?
1 parent 0e4ccea commit 21e309b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const mongod = new MongodbMemoryServer();
3333
const uri = await mongod.getConnectionString();
3434
const port = await mongod.getPort();
3535
const dbPath = await mongod.getDbPath();
36-
const dbName = await mongoServer.getDbName();
36+
const dbName = await mongod.getDbName();
3737

3838
// some code
3939

0 commit comments

Comments
 (0)