Skip to content

Commit 5c7e182

Browse files
committed
docs(mongo-memory-server-opts): add MMS specific option "portGeneration"
1 parent 46a9d2a commit 5c7e182

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/api/interfaces/mongo-memory-server-opts.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,16 @@ API Documentation of `MongoMemoryServerOpts`-Interface
99

1010
### instance
1111

12-
Typings: `instance?: MemoryServerInstanceOpts`
12+
Typings: `instance?: MemoryServerInstanceOpts & ExtraOptions`
1313

1414
Set custom options based on [`MongoMemoryInstanceOpts`](./mongo-memory-instance-opts.md), but ignores some properties:
1515

1616
- `auth` is ignored because it is set via [auth](#auth) property.
1717

18+
Extra options specific to [`MongoMemoryServer` class](../classes/mongo-memory-server.md):
19+
20+
- `portGeneration`: enable / disable port generation, enabled by default.
21+
1822
### binary
1923

2024
Typings: `binary?: MongoBinaryOpts`

0 commit comments

Comments
 (0)