Skip to content

Commit

Permalink
feat: lcov reeporter added
Browse files Browse the repository at this point in the history
  • Loading branch information
mauroerta committed May 26, 2021
1 parent a01b954 commit 2be77a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jest.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
testMatch: ['<rootDir>/(src|tests)/**/**.(spec|test).ts(x|)'],
transform: { '^.+\\.(t|j)s$': 'ts-jest' },
coverageDirectory: './coverage',
coverageReporters: ['json-summary', 'html', 'text'],
coverageReporters: ['json-summary', 'html', 'text', 'lcov'],
collectCoverageFrom: [
'<rootDir>/src/**/**',
'!<rootDir>/src/**/**/index.ts',
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const projects = packages.map(package => {
module.exports = {
projects,
coverageDirectory: './coverage',
coverageReporters: ['json-summary', 'text', 'html'],
coverageReporters: ['json-summary', 'text', 'html', 'lcov'],
collectCoverageFrom: [
'<rootDir>/src/**/**',
'!<rootDir>/src/**/**/index.ts',
Expand Down

0 comments on commit 2be77a6

Please sign in to comment.