Skip to content

Commit

Permalink
Fixing coverage problems by upgrading to nyc (the new istanbul)
Browse files Browse the repository at this point in the history
  • Loading branch information
dacarley committed Oct 30, 2017
1 parent a0bb2f9 commit 49922e9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ node_modules
.idea/
.npm/
/packages/**/lib/*
/.nyc_output
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ install:
- npm install
script:
- npm run build
- npm run test-coveralls
- npm run test
- npm run coverage
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"watch": "gulp watch",
"docs": "cd docs; make html;",
"lint": "gulp lint",
"test": "mocha; gulp lint",
"test-coveralls": "istanbul cover _mocha -- -R spec && cat coverage/lcov.info | coveralls --verbose"
"test": "nyc --reporter=html --reporter=text mocha",
"coverage": "nyc report --reporter=text-lcov | coveralls --verbose"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -91,10 +91,10 @@
"gulp-plumber": "^1.1.0",
"gulp-replace": "^0.6.1",
"gulp-util": "^3.0.8",
"istanbul": "^0.4.5",
"lerna": "^2.4.0",
"lodash": "^4.17.4",
"mocha": "^4.0.1",
"nyc": "^11.2.1",
"rollup": "^0.50.0",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-commonjs": "^8.2.4",
Expand Down
2 changes: 1 addition & 1 deletion test/mocha.opts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
--reporter dot
--reporter spec
--require babel-register

0 comments on commit 49922e9

Please sign in to comment.