Skip to content

Commit

Permalink
[easy] Exclude __examples__ from coverage (elastic#45556)
Browse files Browse the repository at this point in the history

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
clintandrewhall and elasticmachine committed Sep 17, 2019
1 parent 3a63d67 commit bdc4930
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x-pack/legacy/plugins/canvas/scripts/jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ run(
`!${path}/**/build/**`,
'--collectCoverageFrom', // Ignore coverage on test files
`!${path}/**/__tests__/**/*`,
'--collectCoverageFrom', // Ignore coverage on example files
`!${path}/**/__examples__/**/*`,
'--collectCoverageFrom', // Include JS files
`${path}/**/*.js`,
'--collectCoverageFrom', // Include TS/X files
Expand Down

0 comments on commit bdc4930

Please sign in to comment.