Skip to content

Commit

Permalink
test(coverage): exclude untestable types from coverage (#1438)
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsvetkov-splunk authored Nov 8, 2024
1 parent ba3ce58 commit ac851df
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ui/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@ export default {
coveragePathIgnorePatterns: [
'/node_modules/',
'/stories/',
// ignore *.d.ts files
'\\.d\\.ts$',
'mockServiceWorker.js',
'styleMock.js',
/*
TYPES
*/
// *.d.ts files
'\\.d\\.ts$',
'/types/',
'\\.types\\.ts$',
],
coverageDirectory: 'coverage',
coverageThreshold: {
Expand Down

0 comments on commit ac851df

Please sign in to comment.