mongo-unit
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -72,3 +72,3 @@ 'use strict'; | ||
}) | ||
return Promise.all(queries) | ||
return Promise.all(queries).then(() => db.close()) | ||
}) | ||
@@ -84,3 +84,3 @@ } | ||
}) | ||
return Promise.all(queries) | ||
return Promise.all(queries).then(() => db.close()) | ||
}) | ||
@@ -91,3 +91,3 @@ } | ||
return client.connect(getUrl()) | ||
.then(db => db.dropDatabase()) | ||
.then(db => db.dropDatabase().then(() => db.close())) | ||
} | ||
@@ -94,0 +94,0 @@ |
{ | ||
"name": "mongo-unit", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "mongo db for unit tests", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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
435195
80
67