Skip to content

Commit

Permalink
Exclude dist/ from test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
davidparsson committed Jul 31, 2024
1 parent 00f9fb3 commit 788f222
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ const config: Config = {
coverageDirectory: 'coverage',

// An array of regexp pattern strings used to skip coverage collection
// coveragePathIgnorePatterns: [
// "/node_modules/"
// ],
coveragePathIgnorePatterns: [
"/node_modules/",
"/dist/",
],

// Indicates which provider should be used to instrument code for coverage
coverageProvider: 'v8',
Expand Down

0 comments on commit 788f222

Please sign in to comment.