@testcontainers/mongodb
Advanced tools
Comparing version
@@ -9,4 +9,2 @@ "use strict"; | ||
super(image); | ||
} | ||
async start() { | ||
this.withExposedPorts(MONGODB_PORT) | ||
@@ -16,2 +14,4 @@ .withCommand(["--replSet", "rs0"]) | ||
.withStartupTimeout(120000); | ||
} | ||
async start() { | ||
return new StartedMongoDBContainer(await super.start()); | ||
@@ -18,0 +18,0 @@ } |
{ | ||
"name": "@testcontainers/mongodb", | ||
"version": "10.6.0", | ||
"version": "10.7.1", | ||
"license": "MIT", | ||
@@ -35,4 +35,4 @@ "keywords": [ | ||
"dependencies": { | ||
"testcontainers": "^10.6.0" | ||
"testcontainers": "^10.7.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Updated