Exclude cypress folders from Jest test coverage (#113482)

This commit is contained in:
Scotty Bollinger 2021-10-01 10:22:03 -05:00 committed by GitHub
parent 88fa27debe
commit 2d2878a904
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,4 +18,8 @@ module.exports = {
'!<rootDir>/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}',
],
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',
],
};