diff --git a/test/async.js b/test/async.js index 48a0dd6..02c10e7 100644 --- a/test/async.js +++ b/test/async.js @@ -1,4 +1,5 @@ global.self = global; +console.log(process.argv) const env = process.argv[4] && process.argv[4] === "--exit" ? process.argv[5] : process.argv[3] && process.argv[3] === "--exit" diff --git a/test/package.json b/test/package.json index 95232f5..33aa577 100644 --- a/test/package.json +++ b/test/package.json @@ -3,7 +3,7 @@ "type": "module", "scripts": { "test": "mocha ./*.js --exit", - "test:github": "mocha ./*.js --exit flexsearch.compact.min", + "test:github": "mocha async.js --exit flexsearch.compact.min", "test:coverage": "c8 -c ./.c8rc.json mocha ./*.js --exit", "test:keystore": "set NODE_OPTIONS=--max-old-space-size=16000 && c8 -c ./.c8rc.json mocha ./keystore.js --exit", "test:db": "c8 -c ./.c8rc.json mocha ./persistent.*.js --exit",