summaryrefslogtreecommitdiff
path: root/tests/js
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-11-16 15:48:12 -0300
committerEuAndreh <eu@euandre.org>2023-11-16 15:51:57 -0300
commitb2b5ba67c25705ddabb7f59baf725604eaf67c04 (patch)
tree96ffbd2b9455965a814cc55ec47b50fbbd213b68 /tests/js
parentMakefile, mkdeps.sh: Enforce JS->native dependency (diff)
downloadpapod-b2b5ba67c25705ddabb7f59baf725604eaf67c04.tar.gz
papod-b2b5ba67c25705ddabb7f59baf725604eaf67c04.tar.xz
Add WIP non-async functions to napi-sqlite.c
Diffstat (limited to 'tests/js')
-rw-r--r--tests/js/db.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/js/db.js b/tests/js/db.js
new file mode 100644
index 0000000..3a42b1f
--- /dev/null
+++ b/tests/js/db.js
@@ -0,0 +1,16 @@
+const { runTests } = require("../runner.js");
+const { init } = require("../../src/db.js");
+
+
+const test_init = t => {
+ t.start("init()");
+ t.test("FIXME", () => {
+ init();
+ });
+};
+
+const tests = [
+ test_init,
+];
+
+runTests(tests);