mocha: move spec to invocation
This commit is contained in:
parent
3e3ab257a5
commit
bd0da6df13
@ -25,7 +25,8 @@
|
|||||||
"lint": "run-p --aggregate-output --continue-on-error lint:*",
|
"lint": "run-p --aggregate-output --continue-on-error lint:*",
|
||||||
"start": "node index start",
|
"start": "node index start",
|
||||||
"test": "run-p --aggregate-output --continue-on-error lint:* test:mocha",
|
"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"
|
"watch": "webpack --watch"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -2,7 +2,6 @@ color: true
|
|||||||
check-leaks: true
|
check-leaks: true
|
||||||
recursive: true
|
recursive: true
|
||||||
reporter: dot
|
reporter: dot
|
||||||
spec: "test/**/*.ts"
|
|
||||||
ignore: "test/client/**"
|
ignore: "test/client/**"
|
||||||
extension: ["ts", "js"]
|
extension: ["ts", "js"]
|
||||||
require:
|
require:
|
||||||
|
Loading…
Reference in New Issue
Block a user