summaryrefslogtreecommitdiff
path: root/test/test-database.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-database.js')
-rw-r--r--test/test-database.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-database.js b/test/test-database.js
index dce89559..cbaf49dd 100644
--- a/test/test-database.js
+++ b/test/test-database.js
@@ -19,7 +19,7 @@ const fs = require('fs');
const url = require('url');
const path = require('path');
const assert = require('assert');
-const {JSZip, createDictionaryArchive} = require('../dev/util');
+const {JSZip, createDictionaryArchive, testMain} = require('../dev/util');
const {VM} = require('../dev/vm');
require('fake-indexeddb/auto');
@@ -958,4 +958,4 @@ async function main() {
}
-if (require.main === module) { main(); }
+if (require.main === module) { testMain(main); }