Skip to content

Commit

Permalink
test: add code coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
saitho committed Mar 13, 2020
1 parent 20c7b12 commit be2b900
Show file tree
Hide file tree
Showing 4 changed files with 498 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ _versions.ts
node_modules
.idea
/ng-appversion.iml
.nyc_output
coverage
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"start": "node index.js",
"test": "./node_modules/mocha/bin/mocha",
"test": "nyc --reporter=text --reporter=lcov mocha",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect",
"semantic-release": "semantic-release",
Expand All @@ -27,8 +27,8 @@
"colors": "^1.3.3",
"git-commit-info": "^1.0.0",
"git-describe": "^4.0.4",
"yargs": "^14.1.0",
"snyk": "^1.298.1"
"snyk": "^1.298.1",
"yargs": "^14.1.0"
},
"devDependencies": {
"@saithodev/semantic-release-sharedconf-npm": "^2.0.1",
Expand All @@ -37,6 +37,7 @@
"cz-conventional-changelog": "^3.0.2",
"lodash": "^4.17.15",
"mocha": "^6.2.0",
"nyc": "^15.0.0",
"rimraf": "^3.0.0",
"semantic-release": "^16.0.1"
},
Expand Down
Loading

0 comments on commit be2b900

Please sign in to comment.