mongodb-memory-server
Advanced tools
Comparing version 2.9.0 to 2.9.1
@@ -52,3 +52,3 @@ "use strict"; | ||
yield _MongoBinary.default.getPath(); | ||
expect(accessSpy).toHaveBeenCalledWith('/usr/local/bin/mongod'); | ||
expect(accessSpy).toHaveBeenCalledWith('/usr/local/bin/mongod', expect.any(Function)); | ||
accessSpy.mockClear(); | ||
@@ -93,3 +93,3 @@ })); | ||
yield _MongoBinary.default.getSystemPath('/usr/bin/mongod'); | ||
expect(accessSpy).toHaveBeenCalledWith('/usr/bin/mongod'); | ||
expect(accessSpy).toHaveBeenCalledWith('/usr/bin/mongod', expect.any(Function)); | ||
accessSpy.mockClear(); | ||
@@ -96,0 +96,0 @@ })); |
@@ -24,2 +24,4 @@ "use strict"; | ||
var _util = require("util"); | ||
var _MongoBinaryDownload = _interopRequireDefault(require("./MongoBinaryDownload")); | ||
@@ -45,3 +47,3 @@ | ||
try { | ||
yield _fs.default.access(systemBinary); | ||
yield (0, _util.promisify)(_fs.default.access)(systemBinary); | ||
@@ -52,3 +54,3 @@ _this.debug(`MongoBinary: found sytem binary path at ${systemBinary}`); | ||
} catch (err) { | ||
_this.debug(`MongoBinary: can't find system binary at ${systemBinary}`); | ||
_this.debug(`MongoBinary: can't find system binary at ${systemBinary}. ${err.message}`); | ||
} | ||
@@ -55,0 +57,0 @@ |
{ | ||
"name": "mongodb-memory-server", | ||
"version": "2.9.0", | ||
"version": "2.9.1", | ||
"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
150535
2263