Skip to content

Commit

Permalink
test: ds-767 ignore views from coverage
Browse files Browse the repository at this point in the history
Relates to JIRA: DISCOVERY-767
  • Loading branch information
cdcabrera committed Sep 13, 2024
1 parent 6978a70 commit e452a39
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
module.exports = {
collectCoverageFrom: ['src/**/*.{ts,tsx}', '!src/**/.*/**', '!src/**/**/index.{ts,tsx}', '!src/types/*.ts', '!src/constants/*.ts'],
collectCoverageFrom: [
'src/**/*.{ts,tsx}',
'!src/**/.*/**',
'!src/**/**/index.{ts,tsx}',
'!src/types/*.ts',
'!src/constants/*.ts',
'!src/views/credentials/view*.{ts,tsx}',
'!src/views/credentials/view*.{ts,tsx}',
'!src/views/scans/view*.{ts,tsx}',
'!src/views/sources/view*.{ts,tsx}'
],
coverageThreshold: {
global: {
branches: 60,
Expand Down

0 comments on commit e452a39

Please sign in to comment.