Skip to content

Commit

Permalink
update coverage script in package.json to open the coverage report in…
Browse files Browse the repository at this point in the history
… browser after running tests
  • Loading branch information
nelsonic committed Jan 10, 2016
1 parent f5e0c42 commit 78ff883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"test": "./node_modules/lab/bin/lab -c && ./node_modules/lab/bin/lab -r lcov -o coverage/lcov.info",
"start": "node index.js",
"coverage": "./node_modules/lab/bin/lab -r lcov -o ./test/lcov.info && CODECLIMATE_REPO_TOKEN=c1fd44b286100ffb10e243fd0a8efb7421adbfa77bb0198c8fce92e0baeb55bf ./node_modules/codeclimate-test-reporter/bin/codeclimate.js < ./test/lcov.info"
"coverage": "./node_modules/lab/bin/lab -r html -o ./coverage/index.html && open ./coverage/index.html"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 78ff883

Please sign in to comment.