Skip to content

Commit

Permalink
fix: add coverage config to jest setup (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
aldarund authored and clarkdo committed Mar 6, 2019
1 parent d83c3eb commit 85a29ec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion template/frameworks/jest/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,10 @@ module.exports = {
transform: {
'^.+\\.js$': 'babel-jest',
'.*\\.(vue)$': 'vue-jest',
}
},
"collectCoverage": true,
"collectCoverageFrom": [
"<rootDir>/components/**/*.vue",
"<rootDir>/pages/**/*.vue"
]
}

0 comments on commit 85a29ec

Please sign in to comment.