Skip to content

Commit 14dc24e

Browse files
committed
fix: pass instance ip option to MongoInstance.run
Manual merge with #148
1 parent 5d56ad3 commit 14dc24e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/MongoMemoryServer.ts

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

0 commit comments

Comments
 (0)