Browse Source

Use progress reporter for faster local testing

master
Futago-za Ryuu 3 years ago
parent
commit
138fb96aed
  1. 4
      package.json
  2. 1
      test/mocha.opts

4
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": {

1
test/mocha.opts

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