diff --git a/package.json b/package.json index 26f3ff8..0a5c772 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ ], "scripts": { "lint": "eslint --ext .js,.vue . docs/.vuepress", - "test": "nyc mocha --recursive", + "spec": "mocha --reporter progress", "benchmark": "node tools/benchmark", "build-docs": "vuepress build docs", "watch-docs": "vuepress dev docs", @@ -18,7 +18,7 @@ "clean": "rimraf packages/pegjs/dist examples/*.js", "impact": "node tools/impact master", "now-build": "npm run build-docs", - "ci": "npm run lint && npm run test", + "test": "nyc mocha", "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov" }, "dependencies": { diff --git a/test/mocha.opts b/test/mocha.opts index 1d62112..72a86bd 100644 --- a/test/mocha.opts +++ b/test/mocha.opts @@ -1,3 +1,4 @@ +--recursive --reporter mocha-multi-reporters --reporter-options configFile=test/config.json {packages,test}/**/*.{spec,test}.js