From 6ff2ea73ccba1cf75f5a9519d27a0b6dfff62acf Mon Sep 17 00:00:00 2001 From: Thomas Wilkerling Date: Thu, 17 Apr 2025 15:32:23 +0200 Subject: [PATCH] github actions: test directory issue --- test/async.js | 1 + test/package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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",