Skip to content

Commit

Permalink
feat: add coverage for all files
Browse files Browse the repository at this point in the history
  • Loading branch information
davojta committed Jan 2, 2020
1 parent 6a2a95c commit 1c5a7d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 146 deletions.
145 changes: 0 additions & 145 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"server": "http-server ./",
"lint": "eslint ./src/**/*.js",
"prettier": "prettier --write ./src/**/*.js",
"build": "webpack"
"build": "webpack",
"coverage:full": "jest --coverage --coverage-reporters=lcov"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -36,5 +37,8 @@
"prettier": "1.16.4",
"webpack": "^4.34.0",
"webpack-cli": "^3.3.4"
},
"jest": {
"collectCoverageFrom" : ["src/**/*.js"]
}
}

0 comments on commit 1c5a7d8

Please sign in to comment.