Skip to content

Commit a39eca5

Browse files
authored
Update README.md
1 parent 94c14b3 commit a39eca5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
This package spins up a actual/real MongoDB Server programmatically from node for testing or mocking during development. By default it holds the data in memory. Fresh spinned up `mongod` process takes about 7Mb of memory. The server will allow you to connect your favorite ODM or client library to the MongoDB Server and run integration tests isolated from each other.
1111

12-
This package use [mongodb-prebuilt](https://github.com/winfinit/mongodb-prebuilt) which on first start downloads the latest MongoDB binaries and save it to `~/.mongodb-prebuilt` folder. So first run may take a time. All further runs will use downloaded version.
12+
This package use [mongodb-prebuilt](https://github.com/winfinit/mongodb-prebuilt) which on first start downloads the latest MongoDB binaries and save it to `~/.mongodb-binaries` folder. So first run may take a time. All further runs will use downloaded version.
1313

1414
Every `MongodbMemoryServer` instance creates and starts fresh MongoDB server on some free port. You may start up several mongod simultaneously. When you terminate your script or call `stop()` MongoDB server(s) will be automatically shutdown.
1515

@@ -54,7 +54,7 @@ const mongod = new MongodbMemoryServer({
5454
},
5555
binary: {
5656
version?: string, // by default '3.4.4'
57-
downloadDir?: string, // by default %HOME/.mongodb-prebuilt
57+
downloadDir?: string, // by default %HOME/.mongodb-binaries
5858
platform?: string, // by default os.platform()
5959
arch?: string, // by default os.arch()
6060
http?: any, // see mongodb-download package

0 commit comments

Comments
 (0)