Skip to content

Commit

Permalink
Added code coverage report config
Browse files Browse the repository at this point in the history
  • Loading branch information
nandan-bhat committed Dec 18, 2024
1 parent ca89bb5 commit 265f8f8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules/
dist/
docs/
coverage/
.DS_Store
8 changes: 8 additions & 0 deletions packages/auth0-acul-js/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,12 @@ export default {
],
},
roots: ['<rootDir>/tests/unit'],
collectCoverage: true,
coverageDirectory: '<rootDir>/coverage',
coverageReporters: ['text', 'lcov'],
collectCoverageFrom: [
'**/*.{ts,tsx}',
'!**/node_modules/**',
'!**/tests/**',
],
};

0 comments on commit 265f8f8

Please sign in to comment.