Use progress reporter for faster local testing

master
Futago-za Ryuu 5 years ago
parent e16dc50686
commit 138fb96aed

@ -8,7 +8,7 @@
], ],
"scripts": { "scripts": {
"lint": "eslint --ext .js,.vue . docs/.vuepress", "lint": "eslint --ext .js,.vue . docs/.vuepress",
"test": "nyc mocha --recursive", "spec": "mocha --reporter progress",
"benchmark": "node tools/benchmark", "benchmark": "node tools/benchmark",
"build-docs": "vuepress build docs", "build-docs": "vuepress build docs",
"watch-docs": "vuepress dev docs", "watch-docs": "vuepress dev docs",
@ -18,7 +18,7 @@
"clean": "rimraf packages/pegjs/dist examples/*.js", "clean": "rimraf packages/pegjs/dist examples/*.js",
"impact": "node tools/impact master", "impact": "node tools/impact master",
"now-build": "npm run build-docs", "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" "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov"
}, },
"dependencies": { "dependencies": {

@ -1,3 +1,4 @@
--recursive
--reporter mocha-multi-reporters --reporter mocha-multi-reporters
--reporter-options configFile=test/config.json --reporter-options configFile=test/config.json
{packages,test}/**/*.{spec,test}.js {packages,test}/**/*.{spec,test}.js

Loading…
Cancel
Save