mirror of
https://github.com/nextapps-de/flexsearch.git
synced 2025-08-26 15:25:21 +02:00
github actions: test directory issue
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
global.self = global;
|
global.self = global;
|
||||||
const env = process.argv[3] && process.argv[3].startsWith("--") ? process.argv[4] : process.argv[3];
|
const env = process.argv[3] && process.argv[3].startsWith("--") ? process.argv[4] : process.argv[3];
|
||||||
import { expect } from "chai";
|
import { expect } from "chai";
|
||||||
|
console.log(process.argv);
|
||||||
console.log("--RELEASE-------------");
|
console.log("--RELEASE-------------");
|
||||||
console.log(env ? "dist/" + env + ".js" : "src/bundle.js")
|
console.log(env ? "dist/" + env + ".js" : "src/bundle.js")
|
||||||
console.log("----------------------");
|
console.log("----------------------");
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha *.js --exit",
|
"test": "mocha *.js --exit",
|
||||||
"test:github": "mocha ./*.js flexsearch.compact.min",
|
"test:github": "mocha async.js 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