From aecd570746ad67ecf56f3fe635d5dc159e6796bb Mon Sep 17 00:00:00 2001 From: Dzmitry Lemechko Date: Wed, 29 Apr 2020 15:27:02 +0300 Subject: [PATCH] update jest oss config --- src/dev/jest/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dev/jest/config.js b/src/dev/jest/config.js index a48323482752c..fe3611ece98a3 100644 --- a/src/dev/jest/config.js +++ b/src/dev/jest/config.js @@ -40,6 +40,7 @@ export default { ], collectCoverageFrom: [ 'src/plugins/**/*.{ts,tsx}', + '!src/plugins/**/{__test__,__snapshots__,__examples__,mocks}/**/*', '!src/plugins/**/*.d.ts', 'packages/kbn-ui-framework/src/components/**/*.js', '!packages/kbn-ui-framework/src/components/index.js', @@ -49,7 +50,6 @@ export default { '!packages/kbn-ui-framework/src/services/**/*/index.js', 'src/legacy/core_plugins/**/*.{js,jsx,ts,tsx}', '!src/legacy/core_plugins/**/{__test__,__snapshots__}/**/*', - '!src/plugins/**/__examples__/**', ], moduleNameMapper: { '@elastic/eui$': '/node_modules/@elastic/eui/test-env',