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:*",
|
||||
"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": [
|
||||
|
@ -2,7 +2,6 @@ color: true
|
||||
check-leaks: true
|
||||
recursive: true
|
||||
reporter: dot
|
||||
spec: "test/**/*.ts"
|
||||
ignore: "test/client/**"
|
||||
extension: ["ts", "js"]
|
||||
require:
|
||||
|
Loading…
Reference in New Issue
Block a user