summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-19 19:59:24 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-19 19:59:24 -0500
commita8b1e40a1e34178d9907b04f3a8e16a21b9eb42a (patch)
tree199ba6443e5589312d6ea5adce097a46ef3169b1 /test
parent7901a467217f311566e7a3bc83ceafa17909d511 (diff)
Close to prevent hangs
Diffstat (limited to 'test')
-rw-r--r--test/test-database.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-database.js b/test/test-database.js
index d66e2137..cefa297c 100644
--- a/test/test-database.js
+++ b/test/test-database.js
@@ -130,6 +130,8 @@ async function testDatabase1() {
// Cleanup
await cleanup();
}
+
+ await database.close();
}
async function testDatabaseEmpty1(database) {