Skip to content

Commit bb8982b

Browse files
committed
feat: check if SQLite is available before its test benchmark
1 parent 52d79e3 commit bb8982b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/benchmark/test-benchmark-sqlite.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
'use strict';
22

3-
require('../common');
3+
const common = require('../common');
4+
if (!common.hasSQLite)
5+
common.skip('missing SQLite');
46

57
const runBenchmark = require('../common/benchmark');
68

0 commit comments

Comments
 (0)