mongodb-memory-server
Advanced tools
Comparing version 2.7.3 to 2.7.4
@@ -55,3 +55,3 @@ "use strict"; | ||
}); | ||
expect(inst.prepareCommandArgs()).toEqual(['--bind_ip', '127.0.0.1', '--port', '27555', '--dbpath', '/data']); | ||
expect(inst.prepareCommandArgs()).toEqual(['--bind_ip', '127.0.0.1', '--port', '27555', '--dbpath', '/data', '--auth']); | ||
}); | ||
@@ -58,0 +58,0 @@ it('should be able to pass arbitrary args', () => { |
@@ -75,3 +75,3 @@ "use strict"; | ||
if (dbPath) result.push('--dbpath', dbPath); | ||
if (!auth) result.push('--noauth'); | ||
if (!auth) result.push('--noauth');else if (auth) result.push('--auth'); | ||
if (replSet) result.push('--replSet', replSet); | ||
@@ -78,0 +78,0 @@ return result.concat(args || []); |
{ | ||
"name": "mongodb-memory-server", | ||
"version": "2.7.3", | ||
"version": "2.7.4", | ||
"description": "In-memory MongoDB Server. Designed with testing in mind, the server will allow you to connect your favourite ODM or client library to the MongoDB Server and run integration tests isolated from each other.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
140638