diff --git a/package.json b/package.json index 4d9189c7..c3f60e3f 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,9 @@ "lint:stylelint": "stylelint --color \"client/**/*.css\"", "lint": "run-p --aggregate-output --continue-on-error lint:*", "start": "node index start", - "test": "run-p --aggregate-output --continue-on-error lint:* test:*", - "test:mocha": "cross-env NODE_ENV=test webpack --mode=development && cross-env NODE_ENV=test TS_NODE_PROJECT='./test/tsconfig.json' nyc --nycrc-path=test/.nycrc-mocha.json mocha --require ts-node/register --colors --config=test/.mocharc.yml", + "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/**/*.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", "githooks-install": "git config core.hooksPath scripts/git-hooks" }, diff --git a/test/.mocharc.yml b/test/.mocharc.yml index 5934e4b4..4e0d5796 100644 --- a/test/.mocharc.yml +++ b/test/.mocharc.yml @@ -2,8 +2,6 @@ color: true check-leaks: true recursive: true reporter: dot -interactive: false -spec: "test/**/*.ts" ignore: "test/client/**" extension: ["ts", "js"] require: