Skip to main content

MongoMemoryServerOpts

API Documentation of MongoMemoryServerOpts-Interface

Values

instance

Typings: instance?: MemoryServerInstanceOpts

Set custom options based on MongoMemoryInstanceOpts, but ignores some properties:

  • auth is ignored because it is set via auth property.

binary

Typings: binary?: MongoBinaryOpts

Set custom options for finding the binary, uses MongoBinaryOpts.

spawn

Typings: spawn?: SpawnOptions

Set custom spawn options for spawning processes, uses SpawnOptions

auth

Typings: auth?: AutomaticAuth

Set custom Authentication options for the instance, uses AutomaticAuth.