Skip to content

Commit

Permalink
💚 update script for tests to add coverage report in html and add .nyc…
Browse files Browse the repository at this point in the history
… files to gitignore
  • Loading branch information
mamoonraja committed Nov 30, 2017
1 parent 9025ea9 commit b360a02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ doc/
dist/
.env
.eslintcache
.nyc_output/*
examples/speech_to_text_microphone_input/*.wav
examples/speech_to_text_microphone_input/*.txt
conversation/*.js
Expand All @@ -27,4 +28,4 @@ personality-insights/*.js
tone-analyzer/*.js
visual-recognition/*.js
text-to-speech/*.js
speech-to-text/*.js
speech-to-text/*.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"node": ">=4"
},
"scripts": {
"test": "nyc mocha test/unit/ test/integration/",
"test": "nyc mocha test/unit/ test/integration/ && nyc report --reporter=html",
"lint": "npm run compat-check && eslint . --cache && dependency-lint",
"compat-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check",
"autofix": "eslint . --fix",
Expand Down

0 comments on commit b360a02

Please sign in to comment.