Skip to content

Commit

Permalink
added code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
hLudde committed May 30, 2019
1 parent 6e2026d commit f2688b5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
13 changes: 13 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
require('dotenv').config();
{
module.exports = {
"verbose":true,
"collectCoverage": true,
"coverageReporters": ["text"],
"collectCoverageFrom":[
"./src/*.js",
"!**/node_modules/**",
"!**/vendor/**"
]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"private": true,
"scripts": {
"build": "webpack",
"test": "jest --config ./tests/jest.config.js",
"test": "jest --config ./jest.config.js",
"code-coverage": "jest --coverage"
},
"keywords": [
Expand Down
7 changes: 0 additions & 7 deletions tests/jest.config.js

This file was deleted.

0 comments on commit f2688b5

Please sign in to comment.