Skip to content

Commit

Permalink
Merge pull request #115 from brettz9/nyc
Browse files Browse the repository at this point in the history
Use `nyc` to track test coverage
  • Loading branch information
Turbo87 committed Aug 22, 2020
2 parents 3107fa0 + ebca084 commit ea4fc6b
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

0 comments on commit ea4fc6b

Please sign in to comment.