Skip to content

Commit

Permalink
Test(web-react): Ignore demo files from code coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Nov 6, 2023
1 parent 4a838f7 commit 7147a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-react/config/jest/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const config = {

// An array of regexp pattern strings that are matched against all file paths before executing the test.
// https://jestjs.io/docs/configuration#coveragepathignorepatterns-arraystring
coveragePathIgnorePatterns: ['__fixtures__', '.*.stories.*', '/stories/.*'],
coveragePathIgnorePatterns: ['__fixtures__', '.*.stories.*', '/stories/.*', '/demo/.*'],

// A list of reporter names that Jest uses when writing coverage reports. Any istanbul reporter can be used.
// https://jestjs.io/docs/configuration#coveragereporters-arraystring--string-options
Expand Down

0 comments on commit 7147a6d

Please sign in to comment.