Skip to content

Commit

Permalink
Use nyc to track test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 authored and Turbo87 committed Aug 22, 2020
1 parent 3107fa0 commit ebca084
Show file tree
Hide file tree
Showing 2 changed files with 640 additions and 9 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"scripts": {
"lint": "eslint ./",
"test": "npm run lint && npm run unit-test",
"unit-test": "mocha tests/**/*.js"
"unit-test": "nyc mocha tests/**/*.js"
},
"peerDependencies": {
"eslint": ">=2.0.0 <= 7.x"
Expand All @@ -39,7 +39,8 @@
"chai": "^4.2.0",
"eslint": "^7.7.0",
"import-from": "^3.0.0",
"mocha": "^8.1.1"
"mocha": "^8.1.1",
"nyc": "^15.1.0"
},
"engines": {
"node": "10.* || 12.* || >= 14.*"
Expand Down
Loading

0 comments on commit ebca084

Please sign in to comment.