mocha: move spec to invocation

This commit is contained in:
hgw 2024-02-02 03:26:14 +00:00
parent 3e3ab257a5
commit bd0da6df13
Signed by: hgw
SSH Key Fingerprint: SHA256:diG7RVYHjd3aDYkZWHYcBJbImu+6zfptuUP+3k/wol4
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,8 @@
"lint": "run-p --aggregate-output --continue-on-error lint:*",
"start": "node index start",
"test": "run-p --aggregate-output --continue-on-error lint:* test:mocha",
"test:mocha": "webpack --mode=development && cross-env NODE_ENV=test TS_NODE_PROJECT='./test/tsconfig.json' mocha --config=test/.mocharc.yml",
"test:mocha": "webpack --mode=development && cross-env NODE_ENV=test TS_NODE_PROJECT='./test/tsconfig.json' mocha --config=test/.mocharc.yml 'test/**/*.ts'",
"test:nospec": "webpack --mode=development && cross-env NODE_ENV=test TS_NODE_PROJECT='./test/tsconfig.json' mocha --config=test/.mocharc.yml",
"watch": "webpack --watch"
},
"keywords": [

View File

@ -2,7 +2,6 @@ color: true
check-leaks: true
recursive: true
reporter: dot
spec: "test/**/*.ts"
ignore: "test/client/**"
extension: ["ts", "js"]
require: