1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-08-25 23:06:41 +02:00

github actions: test directory issue

This commit is contained in:
Thomas Wilkerling
2025-04-17 15:32:23 +02:00
parent e572d97eb4
commit 6ff2ea73cc
2 changed files with 2 additions and 1 deletions

View File

@@ -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"

View File

@@ -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",