Skip to content

Commit 61a605c

Browse files
machikoyasudanodkz
authored andcommitted
fix: pass instance ip option to MongoInstance.run
* Pass instance ip option to MongoInstance.run * chore: lint
1 parent a7610da commit 61a605c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/MongoMemoryServer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ export default class MongoMemoryServer {
133133
replSet: data.replSet,
134134
args: this.opts.instance.args,
135135
auth: this.opts.instance.auth,
136+
ip: this.opts.instance.ip,
136137
},
137138
binary: this.opts.binary,
138139
spawn: this.opts.spawn,

0 commit comments

Comments
 (0)