diff --git a/src/core/packages/http/router-server-internal/src/router.ts b/src/core/packages/http/router-server-internal/src/router.ts index d1640a4db6db1..014a6eefb9206 100644 --- a/src/core/packages/http/router-server-internal/src/router.ts +++ b/src/core/packages/http/router-server-internal/src/router.ts @@ -239,7 +239,7 @@ export class Router, route.options), validationSchemas: route.validate, - // @ts-ignore using isVersioned: false in the type instead of boolean + // @ts-expect-error using isVersioned: false in the type instead of boolean // for typeguarding between versioned and unversioned RouterRoute types isVersioned, }); diff --git a/src/platform/plugins/private/ftr_apis/jest.config.js b/src/platform/plugins/private/ftr_apis/jest.config.js index 5b20f0a9d5e5b..63d378f9d73cd 100644 --- a/src/platform/plugins/private/ftr_apis/jest.config.js +++ b/src/platform/plugins/private/ftr_apis/jest.config.js @@ -13,5 +13,7 @@ module.exports = { roots: ['/src/platform/plugins/private/ftr_apis'], coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/ftr_apis', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/private/ftr_apis/{common,public,server}/**/*.{js,ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/private/ftr_apis/{common,public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/src/platform/plugins/private/kibana_usage_collection/jest.config.js b/src/platform/plugins/private/kibana_usage_collection/jest.config.js index e30e3349b1e93..2c9fca5b373a6 100644 --- a/src/platform/plugins/private/kibana_usage_collection/jest.config.js +++ b/src/platform/plugins/private/kibana_usage_collection/jest.config.js @@ -11,7 +11,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/private/kibana_usage_collection'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/private/kibana_usage_collection', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/private/kibana_usage_collection', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/src/platform/plugins/private/kibana_usage_collection/{common,server}/**/*.{ts,tsx}', diff --git a/src/platform/plugins/shared/newsfeed/jest.config.js b/src/platform/plugins/shared/newsfeed/jest.config.js index c97d47e6a159a..bcc6118c20e4b 100644 --- a/src/platform/plugins/shared/newsfeed/jest.config.js +++ b/src/platform/plugins/shared/newsfeed/jest.config.js @@ -13,5 +13,7 @@ module.exports = { roots: ['/src/platform/plugins/shared/newsfeed'], coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/newsfeed', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/shared/newsfeed/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/newsfeed/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/shared/saved_objects_management/jest.config.js b/src/platform/plugins/shared/saved_objects_management/jest.config.js index e06cf47813410..ddd3f28d5bad3 100644 --- a/src/platform/plugins/shared/saved_objects_management/jest.config.js +++ b/src/platform/plugins/shared/saved_objects_management/jest.config.js @@ -11,7 +11,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/shared/saved_objects_management'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/saved_objects_management', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/saved_objects_management', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/src/platform/plugins/shared/saved_objects_management/{common,public,server}/**/*.{ts,tsx}', diff --git a/src/platform/plugins/shared/telemetry/jest.config.js b/src/platform/plugins/shared/telemetry/jest.config.js index 0f04eaecb6958..0e3146d7c9eaa 100644 --- a/src/platform/plugins/shared/telemetry/jest.config.js +++ b/src/platform/plugins/shared/telemetry/jest.config.js @@ -13,5 +13,7 @@ module.exports = { roots: ['/src/platform/plugins/shared/telemetry'], coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/telemetry', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/shared/telemetry/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/telemetry/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/shared/telemetry_management_section/jest.config.js b/src/platform/plugins/shared/telemetry_management_section/jest.config.js index 870da44a5a120..8a7ad3b6757bb 100644 --- a/src/platform/plugins/shared/telemetry_management_section/jest.config.js +++ b/src/platform/plugins/shared/telemetry_management_section/jest.config.js @@ -14,5 +14,7 @@ module.exports = { coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/telemetry_management_section', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/src/platform/plugins/shared/telemetry_management_section/public/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/src/platform/plugins/shared/telemetry_management_section/public/**/*.{ts,tsx}', + ], }; diff --git a/src/platform/plugins/shared/usage_collection/jest.config.js b/src/platform/plugins/shared/usage_collection/jest.config.js index f8940378f66c8..86d6a7d74bfe1 100644 --- a/src/platform/plugins/shared/usage_collection/jest.config.js +++ b/src/platform/plugins/shared/usage_collection/jest.config.js @@ -11,7 +11,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/src/platform/plugins/shared/usage_collection'], - coverageDirectory: '/target/kibana-coverage/jest/src/platform/plugins/shared/usage_collection', + coverageDirectory: + '/target/kibana-coverage/jest/src/platform/plugins/shared/usage_collection', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/src/platform/plugins/shared/usage_collection/{common,public,server}/**/*.{ts,tsx}', diff --git a/test/common/plugins/newsfeed/server/plugin.ts b/test/common/plugins/newsfeed/server/plugin.ts index 80bd84b7d699b..d63b0fe95484e 100644 --- a/test/common/plugins/newsfeed/server/plugin.ts +++ b/test/common/plugins/newsfeed/server/plugin.ts @@ -46,7 +46,9 @@ export class NewsFeedSimulatorPlugin implements Plugin { items: [ { title: { en: `You are functionally testing the newsfeed widget with fixtures!` }, - description: { en: 'See test/common/platform/plugins/shared/newsfeed/newsfeed_simulation' }, + description: { + en: 'See test/common/platform/plugins/shared/newsfeed/newsfeed_simulation', + }, link_text: { en: 'Generic feed-viewer could go here' }, link_url: { en: 'https://feeds.elastic.co' }, languages: null, diff --git a/x-pack/platform/plugins/private/telemetry_collection_xpack/jest.config.js b/x-pack/platform/plugins/private/telemetry_collection_xpack/jest.config.js index 4e4bed3de1ad1..ecb2ede5b918f 100644 --- a/x-pack/platform/plugins/private/telemetry_collection_xpack/jest.config.js +++ b/x-pack/platform/plugins/private/telemetry_collection_xpack/jest.config.js @@ -12,5 +12,7 @@ module.exports = { coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/private/telemetry_collection_xpack', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/platform/plugins/private/telemetry_collection_xpack/server/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/private/telemetry_collection_xpack/server/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/platform/plugins/private/upgrade_assistant/jest.config.js b/x-pack/platform/plugins/private/upgrade_assistant/jest.config.js index aba2c9b5cf20a..2abb8ea84ab93 100644 --- a/x-pack/platform/plugins/private/upgrade_assistant/jest.config.js +++ b/x-pack/platform/plugins/private/upgrade_assistant/jest.config.js @@ -9,7 +9,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/x-pack/platform/plugins/private/upgrade_assistant'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/private/upgrade_assistant', + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/upgrade_assistant', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/x-pack/platform/plugins/private/upgrade_assistant/{common,public,server}/**/*.{ts,tsx}', diff --git a/x-pack/platform/plugins/shared/cloud/jest.config.js b/x-pack/platform/plugins/shared/cloud/jest.config.js index fd20d915bd553..fa19f5b20864e 100644 --- a/x-pack/platform/plugins/shared/cloud/jest.config.js +++ b/x-pack/platform/plugins/shared/cloud/jest.config.js @@ -11,5 +11,7 @@ module.exports = { roots: ['/x-pack/platform/plugins/shared/cloud'], coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/cloud', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/platform/plugins/shared/cloud/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/cloud/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/platform/plugins/shared/features/jest.config.js b/x-pack/platform/plugins/shared/features/jest.config.js index f467c256442d0..3675ee2986003 100644 --- a/x-pack/platform/plugins/shared/features/jest.config.js +++ b/x-pack/platform/plugins/shared/features/jest.config.js @@ -9,7 +9,10 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/x-pack/platform/plugins/shared/features'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/features', + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/features', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/platform/plugins/shared/features/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/features/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/platform/plugins/shared/licensing/jest.config.js b/x-pack/platform/plugins/shared/licensing/jest.config.js index e979e1c62632c..787cbc4c0dc31 100644 --- a/x-pack/platform/plugins/shared/licensing/jest.config.js +++ b/x-pack/platform/plugins/shared/licensing/jest.config.js @@ -9,7 +9,10 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/x-pack/platform/plugins/shared/licensing'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/licensing', + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/licensing', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/platform/plugins/shared/licensing/{common,public,server}/**/*.{ts,tsx}'], + collectCoverageFrom: [ + '/x-pack/platform/plugins/shared/licensing/{common,public,server}/**/*.{ts,tsx}', + ], };