Exclude cypress folders from Jest test coverage (#113482)
This commit is contained in:
parent
88fa27debe
commit
2d2878a904
|
@ -18,4 +18,8 @@ module.exports = {
|
||||||
'!<rootDir>/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}',
|
'!<rootDir>/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}',
|
||||||
],
|
],
|
||||||
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/x-pack/plugins/enterprise_search',
|
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/x-pack/plugins/enterprise_search',
|
||||||
|
modulePathIgnorePatterns: [
|
||||||
|
'<rootDir>/x-pack/plugins/enterprise_search/public/applications/app_search/cypress',
|
||||||
|
'<rootDir>/x-pack/plugins/enterprise_search/public/applications/workplace_search/cypress',
|
||||||
|
],
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue