Skip to content

Commit

Permalink
fix: coverage source exclude template.
Browse files Browse the repository at this point in the history
  • Loading branch information
黄健 authored and 黄健 committed Sep 1, 2017
1 parent 46287d4 commit 964b33a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
'\\.(css|less|scss)$': 'identity-obj-proxy'
},
// Coverage report
collectCoverageFrom: ['helper/**/*.js', 'lib/**/*.js'],
collectCoverageFrom: ['lib/**/*.js', '!lib/template/**'],
coverageDirectory: 'coverage',
coverageReporters: ['lcov', 'html'],
// Test configuration
Expand Down

0 comments on commit 964b33a

Please sign in to comment.