mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
exclude tsx test and mock files from test coverage (#109203)
This commit is contained in:
parent
e88d77b045
commit
76eafd8803
1 changed files with 3 additions and 3 deletions
|
@ -104,10 +104,10 @@ module.exports = {
|
|||
collectCoverageFrom: [
|
||||
'**/*.{js,mjs,jsx,ts,tsx}',
|
||||
'!**/{__test__,__snapshots__,__examples__,*mock*,tests,test_helpers,integration_tests,types}/**/*',
|
||||
'!**/*mock*.ts',
|
||||
'!**/*.test.ts',
|
||||
'!**/*mock*.{ts,tsx}',
|
||||
'!**/*.test.{ts,tsx}',
|
||||
'!**/*.d.ts',
|
||||
'!**/index.{js,ts}',
|
||||
'!**/index.{js,ts,tsx}',
|
||||
],
|
||||
|
||||
// A custom resolver to preserve symlinks by default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue