Skip to content

Commit

Permalink
no coverage on circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroboo committed Dec 13, 2018
1 parent a0f3911 commit db55403
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ jobs:
- run:
name: test report html
command: npm run test-clear
- run:
name: coverage
command: npm run coverage
- store_artifacts:
path: test-results.xml
prefix: tests
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "src/index.js",
"scripts": {
"test": "nyc --reporter=text-lcov mocha",
"test-clear": "nyc --reporter=html mocha",
"test-clear": "nyc --reporter=html --reporter=text mocha",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"start": "node src/demo.js",
"istanbul": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
Expand Down

0 comments on commit db55403

Please sign in to comment.