mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-08-26 07:15:36 +02:00
github actions: test directory issue
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
global.self = global;
|
global.self = global;
|
||||||
|
console.log(process.argv)
|
||||||
const env = process.argv[4] && process.argv[4] === "--exit"
|
const env = process.argv[4] && process.argv[4] === "--exit"
|
||||||
? process.argv[5]
|
? process.argv[5]
|
||||||
: process.argv[3] && process.argv[3] === "--exit"
|
: process.argv[3] && process.argv[3] === "--exit"
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha ./*.js --exit",
|
"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: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: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",
|
"test:db": "c8 -c ./.c8rc.json mocha ./persistent.*.js --exit",
|
||||||
|
Reference in New Issue
Block a user