Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlemeshko committed Apr 28, 2020
1 parent bec08e9 commit 90189e4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion x-pack/dev-tools/jest/create_jest_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,15 @@ export function createJestConfig({ kibanaDirectory, xPackKibanaDirectory }) {
'legacy/plugins/**/*.{js,jsx,ts,tsx}',
'legacy/server/**/*.{js,jsx,ts,tsx}',
'plugins/**/*.{js,jsx,ts,tsx}',
'!{legacy,plugins}/**/{__test__,__snapshots__}/**/*',
'!{legacy/plugins}/**/{__test__,__snapshots__,__examples__}/**/*',
'!{plugins}/**/{__test__,__snapshots__,__examples__}/**/*',
'!{legacy,plugins}/**/*.test.{js,ts,tsx}',
'!**/node_modules/**',
'!**/flot-charts/**',
'!**/test/**',
'!**/build/**',
'!**/scripts/**',
'!/**/mocks/**',
],
coveragePathIgnorePatterns: ['.*\\.d\\.ts'],
coverageDirectory: '<rootDir>/../target/kibana-coverage/jest',
Expand Down

0 comments on commit 90189e4

Please sign in to comment.