Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
Browse files Browse the repository at this point in the history
…-fix'
  • Loading branch information
kibanamachine committed Jan 3, 2025
1 parent 4264458 commit 342b8eb
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ module.exports = {
preset: '@kbn/test',
rootDir: '../../../../..',
roots: ['<rootDir>/src/platform/plugins/private/interactive_setup'],
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/src/platform/plugins/private/interactive_setup',
coverageDirectory:
'<rootDir>/target/kibana-coverage/jest/src/platform/plugins/private/interactive_setup',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
'<rootDir>/src/platform/plugins/private/interactive_setup/{common,public,server}/**/*.{ts,tsx}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
module.exports = {
coverageDirectory: '<rootDir>/x-pack/platform/packages/private/security/authorization_core',
coverageReporters: ['text', 'html'],
collectCoverageFrom: ['<rootDir>/x-pack/platform/packages/private/security/authorization_core/**/*.{ts,tsx}'],
collectCoverageFrom: [
'<rootDir>/x-pack/platform/packages/private/security/authorization_core/**/*.{ts,tsx}',
],
preset: '@kbn/test',
rootDir: '../../../../../..',
roots: ['<rootDir>/x-pack/platform/packages/private/security/authorization_core'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
*/

module.exports = {
coverageDirectory: '<rootDir>/x-pack/platform/packages/private/security/authorization_core_common',
coverageDirectory:
'<rootDir>/x-pack/platform/packages/private/security/authorization_core_common',
coverageReporters: ['text', 'html'],
collectCoverageFrom: [
'<rootDir>/x-pack/platform/packages/private/security/authorization_core_common/**/*.{ts,tsx}',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ module.exports = {
coverageDirectory:
'<rootDir>/target/kibana-coverage/jest/x-pack/platform/packages/private/security/role_management_model',
coverageReporters: ['text', 'html'],
collectCoverageFrom: ['<rootDir>/x-pack/platform/packages/private/security/role_management_model/**/*.{ts,tsx}'],
collectCoverageFrom: [
'<rootDir>/x-pack/platform/packages/private/security/role_management_model/**/*.{ts,tsx}',
],
preset: '@kbn/test',
rootDir: '../../../../../..',
roots: ['<rootDir>/x-pack/platform/packages/private/security/role_management_model'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@
*/

module.exports = {
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/x-pack/platform/packages/private/security/ui_components',
coverageDirectory:
'<rootDir>/target/kibana-coverage/jest/x-pack/platform/packages/private/security/ui_components',
coverageReporters: ['text', 'html'],
collectCoverageFrom: ['<rootDir>/x-pack/platform/packages/private/security/ui_components/**/*.{ts,tsx}'],
collectCoverageFrom: [
'<rootDir>/x-pack/platform/packages/private/security/ui_components/**/*.{ts,tsx}',
],
preset: '@kbn/test',
rootDir: '../../../../../..',
roots: ['<rootDir>/x-pack/platform/packages/private/security/ui_components'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ module.exports = {
coverageDirectory:
'<rootDir>/target/kibana-coverage/jest/x-pack/platform/packages/shared/security/api_key_management',
coverageReporters: ['text', 'html'],
collectCoverageFrom: ['<rootDir>/x-pack/platform/packages/shared/security/api_key_management/**/*.{ts,tsx}'],
collectCoverageFrom: [
'<rootDir>/x-pack/platform/packages/shared/security/api_key_management/**/*.{ts,tsx}',
],
preset: '@kbn/test',
rootDir: '../../../../../..',
roots: ['<rootDir>/x-pack/platform/packages/shared/security/api_key_management'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ module.exports = {
coverageDirectory:
'<rootDir>/target/kibana-coverage/jest/x-pack/platform/packages/shared/security/form_components',
coverageReporters: ['text', 'html'],
collectCoverageFrom: ['<rootDir>/x-pack/platform/packages/shared/security/form_components/**/*.{ts,tsx}'],
collectCoverageFrom: [
'<rootDir>/x-pack/platform/packages/shared/security/form_components/**/*.{ts,tsx}',
],
preset: '@kbn/test',
rootDir: '../../../../../..',
roots: ['<rootDir>/x-pack/platform/packages/shared/security/form_components'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ module.exports = {
preset: '@kbn/test',
rootDir: '../../../../..',
roots: ['<rootDir>/x-pack/platform/plugins/shared/encrypted_saved_objects'],
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/x-pack/platform/plugins/shared/encrypted_saved_objects',
coverageDirectory:
'<rootDir>/target/kibana-coverage/jest/x-pack/platform/plugins/shared/encrypted_saved_objects',
coverageReporters: ['text', 'html'],
collectCoverageFrom: ['<rootDir>/x-pack/platform/plugins/shared/encrypted_saved_objects/server/**/*.{ts,tsx}'],
collectCoverageFrom: [
'<rootDir>/x-pack/platform/plugins/shared/encrypted_saved_objects/server/**/*.{ts,tsx}',
],
};
7 changes: 5 additions & 2 deletions x-pack/platform/plugins/shared/security/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ module.exports = {
preset: '@kbn/test',
rootDir: '../../../../..',
roots: ['<rootDir>/x-pack/platform/plugins/shared/security'],
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/x-pack/platform/plugins/shared/security',
coverageDirectory:
'<rootDir>/target/kibana-coverage/jest/x-pack/platform/plugins/shared/security',
coverageReporters: ['text', 'html'],
collectCoverageFrom: ['<rootDir>/x-pack/platform/plugins/shared/security/{common,public,server}/**/*.{ts,tsx}'],
collectCoverageFrom: [
'<rootDir>/x-pack/platform/plugins/shared/security/{common,public,server}/**/*.{ts,tsx}',
],
};
4 changes: 3 additions & 1 deletion x-pack/platform/plugins/shared/spaces/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ module.exports = {
roots: ['<rootDir>/x-pack/platform/plugins/shared/spaces'],
coverageDirectory: '<rootDir>/target/kibana-coverage/jest/x-pack/platform/plugins/shared/spaces',
coverageReporters: ['text', 'html'],
collectCoverageFrom: ['<rootDir>/x-pack/platform/plugins/shared/spaces/{common,public,server}/**/*.{ts,tsx}'],
collectCoverageFrom: [
'<rootDir>/x-pack/platform/plugins/shared/spaces/{common,public,server}/**/*.{ts,tsx}',
],
};

0 comments on commit 342b8eb

Please sign in to comment.