summaryrefslogtreecommitdiff
path: root/tests/js/db.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/js/db.mjs')
-rw-r--r--tests/js/db.mjs5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/js/db.mjs b/tests/js/db.mjs
index c6c5c85..c02c43e 100644
--- a/tests/js/db.mjs
+++ b/tests/js/db.mjs
@@ -92,9 +92,10 @@ const test_open = t => {
const test_init = t => {
t.start("init()");
t.test("we only know how to deal with 1 database", async () => {
- await init();
+ const logFn = () => {};
+ await init(logFn);
const ref1 = handle;
- await init();
+ await init(logFn);
const ref2 = handle;
assert.notDeepEqual(ref1, ref2);