We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
port
1 parent dc57509 commit 55ee321Copy full SHA for 55ee321
src/MongoMemoryServer.js
@@ -109,7 +109,7 @@ export default class MongoMemoryServer {
109
let tmpDir;
110
111
const instOpts = this.opts.instance;
112
- data.port = await getport(instOpts.port);
+ data.port = await getport({ port: instOpts.port });
113
this.debug = Debug(`Mongo[${data.port}]`);
114
this.debug.enabled = !!this.opts.debug;
115
data.dbName = await generateDbName(instOpts.dbName);
0 commit comments