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.
1 parent fa9832c commit f58c2b1Copy full SHA for f58c2b1
.flowconfig
@@ -1,4 +1,8 @@
1
[ignore]
2
+.*/lib/.*
3
+.*/src/.*
4
+.*/node_modules/config-chain.*
5
+.*/node_modules/npmconf.*
6
7
[include]
8
src/index.js
@@ -57,7 +57,7 @@ export default class MongoDBMemoryServer {
57
const data = {};
58
let tmpDir;
59
60
- data.port = await getport(this.opts.port || 27017);
+ data.port = await getport(this.opts.port);
61
data.uri = await generateConnectionString(data.port);
62
data.storageEngine = this.opts.storageEngine || 'ephemeralForTest';
63
if (this.opts.dbPath) {
0 commit comments