Skip to content

Commit

Permalink
chore: improvement at jest ignore pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
shimisnow committed Mar 15, 2024
1 parent 9cd3f86 commit f809afb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/user-service/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default {
coveragePathIgnorePatterns: [
'main.ts',
'repl.ts',
'(module|dto|serializer|body|result|mock|output|payload).ts$',
'(module|dto|serializer|body|result|mock|output|payload|model|decorator).ts$',
],
coverageReporters: ['clover', 'html'],
coverageThreshold: {
Expand Down
2 changes: 1 addition & 1 deletion shared/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default {
coverageDirectory: '../coverage/shared',
collectCoverageFrom: ['<rootDir>/src/**'],
coveragePathIgnorePatterns: [
'.*.(serializer|enum|entity|decorator|payload).ts$',
'.*.(serializer|enum|entity|decorator|payload|graphql).ts$',
],
coverageReporters: ['clover', 'html'],
coverageThreshold: {
Expand Down

0 comments on commit f809afb

Please sign in to comment.