diff --git a/package.json b/package.json
index 4b389e6993276..5a629c46f6e1b 100644
--- a/package.json
+++ b/package.json
@@ -104,7 +104,7 @@
"@babel/register": "7.4.4",
"@elastic/charts": "^4.2.6",
"@elastic/datemath": "5.0.2",
- "@elastic/eui": "10.4.1",
+ "@elastic/eui": "11.0.1",
"@elastic/filesaver": "1.1.2",
"@elastic/good": "8.1.1-kibana2",
"@elastic/numeral": "2.3.3",
@@ -258,6 +258,7 @@
},
"devDependencies": {
"@babel/parser": "7.4.5",
+ "@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/types": "7.4.4",
"@elastic/eslint-config-kibana": "0.15.0",
"@elastic/github-checks-reporter": "0.0.15",
@@ -338,6 +339,7 @@
"archiver": "^3.0.0",
"babel-eslint": "10.0.1",
"babel-jest": "^24.1.0",
+ "babel-plugin-dynamic-import-node": "^2.2.0",
"backport": "4.5.5",
"chai": "3.5.0",
"chance": "1.0.18",
diff --git a/src/dev/jest/babel_transform.js b/src/dev/jest/babel_transform.js
index 0796cf859d4ef..c318433137312 100644
--- a/src/dev/jest/babel_transform.js
+++ b/src/dev/jest/babel_transform.js
@@ -23,4 +23,9 @@ module.exports = babelJest.createTransformer({
presets: [
require.resolve('@kbn/babel-preset/node_preset')
],
+ plugins: [
+ // enables jest to parse and execute dynamic import() calls
+ '@babel/plugin-syntax-dynamic-import',
+ 'dynamic-import-node'
+ ]
});
diff --git a/src/dev/jest/config.js b/src/dev/jest/config.js
index 2c71b354e5202..e1a0c4a87392d 100644
--- a/src/dev/jest/config.js
+++ b/src/dev/jest/config.js
@@ -88,7 +88,8 @@ export default {
'^.+\\.html?$': 'jest-raw-loader',
},
transformIgnorePatterns: [
- '[/\\\\]node_modules[/\\\\].+\\.js$',
+ // ignore all node_modules except @elastic/eui which requires babel transforms to handle dynamic import()
+ '[/\\\\]node_modules(?![\\/\\\\]@elastic[\\/\\\\]eui)[/\\\\].+\\.js$',
'packages/kbn-pm/dist/index.js'
],
snapshotSerializers: [
diff --git a/src/legacy/core_plugins/kibana/public/dashboard/panel/__snapshots__/dashboard_panel.test.tsx.snap b/src/legacy/core_plugins/kibana/public/dashboard/panel/__snapshots__/dashboard_panel.test.tsx.snap
index 747b92bb5a5de..107bda0aea08b 100644
--- a/src/legacy/core_plugins/kibana/public/dashboard/panel/__snapshots__/dashboard_panel.test.tsx.snap
+++ b/src/legacy/core_plugins/kibana/public/dashboard/panel/__snapshots__/dashboard_panel.test.tsx.snap
@@ -33,24 +33,13 @@ exports[`DashboardPanel matches snapshot 1`] = `
>
+ />
diff --git a/src/legacy/core_plugins/kibana/public/discover/directives/__snapshots__/no_results.test.js.snap b/src/legacy/core_plugins/kibana/public/discover/directives/__snapshots__/no_results.test.js.snap
index ebc27316d4675..9f400e54899af 100644
--- a/src/legacy/core_plugins/kibana/public/discover/directives/__snapshots__/no_results.test.js.snap
+++ b/src/legacy/core_plugins/kibana/public/discover/directives/__snapshots__/no_results.test.js.snap
@@ -20,25 +20,13 @@ Array [
>
+ />
@@ -156,21 +148,14 @@ exports[`Storyshots components/Asset airplane 1`] = `
>
+ />
@@ -194,25 +179,14 @@ exports[`Storyshots components/Asset airplane 1`] = `
>
+ />
@@ -303,18 +277,14 @@ exports[`Storyshots components/Asset marker 1`] = `
>
+ />
@@ -340,18 +310,14 @@ exports[`Storyshots components/Asset marker 1`] = `
>
+ />
@@ -378,21 +344,14 @@ exports[`Storyshots components/Asset marker 1`] = `
>
+ />
@@ -416,25 +375,14 @@ exports[`Storyshots components/Asset marker 1`] = `
>
+ />
diff --git a/x-pack/plugins/canvas/public/components/color_dot/__examples__/__snapshots__/color_dot.examples.storyshot b/x-pack/plugins/canvas/public/components/color_dot/__examples__/__snapshots__/color_dot.examples.storyshot
index 45f32e571f2ce..acdcf8689da7e 100644
--- a/x-pack/plugins/canvas/public/components/color_dot/__examples__/__snapshots__/color_dot.examples.storyshot
+++ b/x-pack/plugins/canvas/public/components/color_dot/__examples__/__snapshots__/color_dot.examples.storyshot
@@ -82,23 +82,18 @@ Array [
}
>
+ />
,
,
,
,
]
diff --git a/x-pack/plugins/canvas/public/components/color_manager/__examples__/__snapshots__/color_manager.examples.storyshot b/x-pack/plugins/canvas/public/components/color_manager/__examples__/__snapshots__/color_manager.examples.storyshot
index a5811a60040c9..9e6db06e5a4db 100644
--- a/x-pack/plugins/canvas/public/components/color_manager/__examples__/__snapshots__/color_manager.examples.storyshot
+++ b/x-pack/plugins/canvas/public/components/color_manager/__examples__/__snapshots__/color_manager.examples.storyshot
@@ -202,19 +202,14 @@ exports[`Storyshots components/ColorManager interactive 1`] = `
>
+ />
@@ -415,19 +405,14 @@ Array [
>
+ />
,
@@ -512,19 +492,14 @@ Array [
>
+ />
,
@@ -609,19 +579,14 @@ Array [
>
+ />
,
diff --git a/x-pack/plugins/canvas/public/components/color_palette/__examples__/__snapshots__/color_palette.examples.storyshot b/x-pack/plugins/canvas/public/components/color_palette/__examples__/__snapshots__/color_palette.examples.storyshot
index ad84c2e544580..14dec33ad0737 100644
--- a/x-pack/plugins/canvas/public/components/color_palette/__examples__/__snapshots__/color_palette.examples.storyshot
+++ b/x-pack/plugins/canvas/public/components/color_palette/__examples__/__snapshots__/color_palette.examples.storyshot
@@ -364,23 +364,18 @@ Array [
}
>
+ />
@@ -718,23 +713,18 @@ exports[`Storyshots components/ColorPalette six colors, wrap at 4 1`] = `
}
>
+ />
@@ -995,23 +985,18 @@ Array [
}
>
+ />
diff --git a/x-pack/plugins/canvas/public/components/color_picker/__examples__/__snapshots__/color_picker.examples.storyshot b/x-pack/plugins/canvas/public/components/color_picker/__examples__/__snapshots__/color_picker.examples.storyshot
index ccdb666dd77c1..c2f4781d49561 100644
--- a/x-pack/plugins/canvas/public/components/color_picker/__examples__/__snapshots__/color_picker.examples.storyshot
+++ b/x-pack/plugins/canvas/public/components/color_picker/__examples__/__snapshots__/color_picker.examples.storyshot
@@ -221,19 +221,14 @@ exports[`Storyshots components/ColorPicker interactive 1`] = `
>
+ />
@@ -317,23 +307,18 @@ exports[`Storyshots components/ColorPicker six colors 1`] = `
}
>
+ />
@@ -527,19 +512,14 @@ exports[`Storyshots components/ColorPicker six colors 1`] = `
>
+ />
@@ -793,19 +768,14 @@ exports[`Storyshots components/ColorPicker six colors, value missing 1`] = `
>
+ />
@@ -868,23 +833,18 @@ exports[`Storyshots components/ColorPicker three colors 1`] = `
}
>
+ />
@@ -1000,19 +960,14 @@ exports[`Storyshots components/ColorPicker three colors 1`] = `
>
+ />
diff --git a/x-pack/plugins/canvas/public/components/custom_element_modal/__examples__/__snapshots__/custom_element_modal.examples.storyshot b/x-pack/plugins/canvas/public/components/custom_element_modal/__examples__/__snapshots__/custom_element_modal.examples.storyshot
index 4fac77ebf47e2..42eefbb1feb37 100644
--- a/x-pack/plugins/canvas/public/components/custom_element_modal/__examples__/__snapshots__/custom_element_modal.examples.storyshot
+++ b/x-pack/plugins/canvas/public/components/custom_element_modal/__examples__/__snapshots__/custom_element_modal.examples.storyshot
@@ -56,18 +56,14 @@ Array [
>
+ />
+ />
@@ -244,22 +236,14 @@ Array [
className="euiCard__top"
>
+ />
+ />
+ />
@@ -753,18 +729,14 @@ Array [
>
+ />
+ />
@@ -941,22 +909,14 @@ Array [
className="euiCard__top"
>
+ />
+ />
+ />
@@ -1294,22 +1246,14 @@ Array [
className="euiCard__top"
>
+ />
+ />
+ />
+ />
+ />
@@ -71,25 +60,14 @@ exports[`Storyshots components/ElementTypes/ElementControls has two buttons 1`]
>
+ />
diff --git a/x-pack/plugins/canvas/public/components/element_types/__examples__/__snapshots__/element_grid.examples.storyshot b/x-pack/plugins/canvas/public/components/element_types/__examples__/__snapshots__/element_grid.examples.storyshot
index 8748623b23772..cd66f28975445 100644
--- a/x-pack/plugins/canvas/public/components/element_types/__examples__/__snapshots__/element_grid.examples.storyshot
+++ b/x-pack/plugins/canvas/public/components/element_types/__examples__/__snapshots__/element_grid.examples.storyshot
@@ -71,25 +71,14 @@ exports[`Storyshots components/ElementTypes/ElementGrid with controls 1`] = `
>
+ />
@@ -112,25 +101,14 @@ exports[`Storyshots components/ElementTypes/ElementGrid with controls 1`] = `
>
+ />
@@ -196,25 +174,14 @@ exports[`Storyshots components/ElementTypes/ElementGrid with controls 1`] = `
>
+ />
@@ -237,25 +204,14 @@ exports[`Storyshots components/ElementTypes/ElementGrid with controls 1`] = `
>
+ />
@@ -321,25 +277,14 @@ exports[`Storyshots components/ElementTypes/ElementGrid with controls 1`] = `
>
+ />
@@ -362,25 +307,14 @@ exports[`Storyshots components/ElementTypes/ElementGrid with controls 1`] = `
>
+ />
@@ -461,25 +395,14 @@ exports[`Storyshots components/ElementTypes/ElementGrid with controls and filter
>
+ />
@@ -502,25 +425,14 @@ exports[`Storyshots components/ElementTypes/ElementGrid with controls and filter
>
+ />
diff --git a/x-pack/plugins/canvas/public/components/file_upload/__snapshots__/file_upload.examples.storyshot b/x-pack/plugins/canvas/public/components/file_upload/__snapshots__/file_upload.examples.storyshot
index dba0a6bef4641..097dad3cf0894 100644
--- a/x-pack/plugins/canvas/public/components/file_upload/__snapshots__/file_upload.examples.storyshot
+++ b/x-pack/plugins/canvas/public/components/file_upload/__snapshots__/file_upload.examples.storyshot
@@ -21,18 +21,14 @@ exports[`Storyshots components/FileUpload default 1`] = `
>
+ />
diff --git a/x-pack/plugins/canvas/public/components/font_picker/__snapshots__/font_picker.examples.storyshot b/x-pack/plugins/canvas/public/components/font_picker/__snapshots__/font_picker.examples.storyshot
index c7a5afedda7ee..7c433bdb983dc 100644
--- a/x-pack/plugins/canvas/public/components/font_picker/__snapshots__/font_picker.examples.storyshot
+++ b/x-pack/plugins/canvas/public/components/font_picker/__snapshots__/font_picker.examples.storyshot
@@ -48,26 +48,14 @@ exports[`Storyshots components/FontPicker default 1`] = `
>
+ />
@@ -142,26 +130,14 @@ exports[`Storyshots components/FontPicker with value 1`] = `
>
+ />
diff --git a/x-pack/plugins/canvas/public/components/item_grid/__examples__/__snapshots__/item_grid.examples.storyshot b/x-pack/plugins/canvas/public/components/item_grid/__examples__/__snapshots__/item_grid.examples.storyshot
index 965a7dd9bfb64..79b547102b089 100644
--- a/x-pack/plugins/canvas/public/components/item_grid/__examples__/__snapshots__/item_grid.examples.storyshot
+++ b/x-pack/plugins/canvas/public/components/item_grid/__examples__/__snapshots__/item_grid.examples.storyshot
@@ -71,23 +71,18 @@ exports[`Storyshots components/ItemGrid complex grid 1`] = `
}
>
+ />
@@ -166,47 +151,32 @@ exports[`Storyshots components/ItemGrid icon grid 1`] = `
className="item-grid-row"
>
+ />
+ />
+ />
`;
diff --git a/x-pack/plugins/canvas/public/components/item_grid/__examples__/item_grid.examples.tsx b/x-pack/plugins/canvas/public/components/item_grid/__examples__/item_grid.examples.tsx
index 632e238d1868b..94340888eafc8 100644
--- a/x-pack/plugins/canvas/public/components/item_grid/__examples__/item_grid.examples.tsx
+++ b/x-pack/plugins/canvas/public/components/item_grid/__examples__/item_grid.examples.tsx
@@ -16,8 +16,8 @@ storiesOf('components/ItemGrid', module)
))
.add('icon grid', () => (
}
+ items={['plusInCircle', 'minusInCircle', 'check']}
+ children={item => }
/>
))
.add('color dot grid', () => (
diff --git a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__examples__/__snapshots__/keyboard_shortcuts_doc.examples.storyshot b/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__examples__/__snapshots__/keyboard_shortcuts_doc.examples.storyshot
index 3f8ae898f5cb1..939f3fd777533 100644
--- a/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__examples__/__snapshots__/keyboard_shortcuts_doc.examples.storyshot
+++ b/x-pack/plugins/canvas/public/components/keyboard_shortcuts_doc/__examples__/__snapshots__/keyboard_shortcuts_doc.examples.storyshot
@@ -57,18 +57,14 @@ exports[`Storyshots components/KeyboardShortcutsDoc default 1`] = `
>
+ />
@@ -92,25 +88,14 @@ exports[`Storyshots components/SidebarHeader/ default 1`] = `
>
+ />
@@ -167,18 +152,14 @@ exports[`Storyshots components/SidebarHeader/ without layer controls 1`] = `
>
+ />
@@ -214,25 +195,14 @@ exports[`Storyshots components/SidebarHeader/ without layer controls 1`] = `
>
+ />
diff --git a/x-pack/plugins/canvas/public/components/tag/__examples__/__snapshots__/tag.examples.storyshot b/x-pack/plugins/canvas/public/components/tag/__examples__/__snapshots__/tag.examples.storyshot
index c1a8ea30eb604..0d4fa0dcb50d1 100644
--- a/x-pack/plugins/canvas/public/components/tag/__examples__/__snapshots__/tag.examples.storyshot
+++ b/x-pack/plugins/canvas/public/components/tag/__examples__/__snapshots__/tag.examples.storyshot
@@ -55,31 +55,18 @@ exports[`Storyshots components/Tag as health 1`] = `
className="euiFlexItem euiFlexItem--flexGrowZero"
>
+ />
+ />
+ />
+ />
+ />
+ />
+ />
+ />
@@ -148,41 +120,24 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
+ />
@@ -210,40 +165,24 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
+ />
@@ -273,41 +212,24 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
+ />
@@ -335,25 +257,14 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
@@ -385,40 +296,24 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
+ />
@@ -451,41 +346,24 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
+ />
@@ -513,41 +391,24 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
+ />
@@ -579,41 +440,24 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
+ />
@@ -641,41 +485,24 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
+ />
@@ -703,41 +530,24 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
+ />
@@ -765,41 +575,24 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
+ />
@@ -827,41 +620,24 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
+ />
@@ -889,41 +665,24 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
+ />
@@ -951,25 +710,14 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
@@ -1001,25 +749,14 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
@@ -1051,25 +788,14 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
@@ -1101,25 +827,14 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
@@ -1151,25 +866,14 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
@@ -1201,25 +905,14 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
@@ -1251,25 +944,14 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
@@ -1301,25 +983,14 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
@@ -1351,25 +1022,14 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
@@ -1401,25 +1061,14 @@ exports[`render correctly 1`] = `
tabIndex={0}
>
+ />
diff --git a/x-pack/plugins/code/public/components/query_bar/components/__snapshots__/query_bar.test.tsx.snap b/x-pack/plugins/code/public/components/query_bar/components/__snapshots__/query_bar.test.tsx.snap
index 481d0717555e9..c8e2a2317095d 100644
--- a/x-pack/plugins/code/public/components/query_bar/components/__snapshots__/query_bar.test.tsx.snap
+++ b/x-pack/plugins/code/public/components/query_bar/components/__snapshots__/query_bar.test.tsx.snap
@@ -349,29 +349,21 @@ exports[`render correctly with empty query string 1`] = `
-
-
+ />
+
Search Everything
@@ -408,29 +400,21 @@ exports[`render correctly with empty query string 1`] = `
-
-
+ />
+
Search Everything
@@ -461,40 +445,23 @@ exports[`render correctly with empty query string 1`] = `
className="euiFormControlLayoutCustomIcon__icon"
type="arrowDown"
>
-
-
+ />
+
@@ -1093,29 +1060,21 @@ exports[`render correctly with input query string changed 1`] = `
-
-
+ />
+
Search Everything
@@ -1152,29 +1111,21 @@ exports[`render correctly with input query string changed 1`] = `
-
-
+ />
+
Search Everything
@@ -1205,40 +1156,23 @@ exports[`render correctly with input query string changed 1`] = `
className="euiFormControlLayoutCustomIcon__icon"
type="arrowDown"
>
-
-
+ />
+
diff --git a/x-pack/plugins/code/public/components/query_bar/components/typeahead/__snapshots__/suggestion_component.test.tsx.snap b/x-pack/plugins/code/public/components/query_bar/components/typeahead/__snapshots__/suggestion_component.test.tsx.snap
index daa1c1e2bf9f6..87b458f25fa00 100644
--- a/x-pack/plugins/code/public/components/query_bar/components/typeahead/__snapshots__/suggestion_component.test.tsx.snap
+++ b/x-pack/plugins/code/public/components/query_bar/components/typeahead/__snapshots__/suggestion_component.test.tsx.snap
@@ -149,30 +149,21 @@ exports[`render symbol item 1`] = `
-
-
+ />
+
diff --git a/x-pack/plugins/code/public/components/query_bar/components/typeahead/__snapshots__/suggestions_component.test.tsx.snap b/x-pack/plugins/code/public/components/query_bar/components/typeahead/__snapshots__/suggestions_component.test.tsx.snap
index 1488a046833e8..9d7be6b3ab4c6 100644
--- a/x-pack/plugins/code/public/components/query_bar/components/typeahead/__snapshots__/suggestions_component.test.tsx.snap
+++ b/x-pack/plugins/code/public/components/query_bar/components/typeahead/__snapshots__/suggestions_component.test.tsx.snap
@@ -165,29 +165,21 @@ exports[`render full suggestions component 1`] = `
-
-
+ />
+
@@ -254,30 +246,21 @@ exports[`render full suggestions component 1`] = `
-
-
+ />
+
@@ -338,29 +321,21 @@ exports[`render full suggestions component 1`] = `
-
-
+ />
+
@@ -464,30 +439,21 @@ exports[`render full suggestions component 1`] = `
-
-
+ />
+
diff --git a/x-pack/plugins/code/public/components/symbol_tree/__test__/__snapshots__/symbol_tree.test.tsx.snap b/x-pack/plugins/code/public/components/symbol_tree/__test__/__snapshots__/symbol_tree.test.tsx.snap
index 454a51c2d5033..445bbb65adda8 100644
--- a/x-pack/plugins/code/public/components/symbol_tree/__test__/__snapshots__/symbol_tree.test.tsx.snap
+++ b/x-pack/plugins/code/public/components/symbol_tree/__test__/__snapshots__/symbol_tree.test.tsx.snap
@@ -19,25 +19,14 @@ exports[`render symbol tree correctly 1`] = `
/>
+ />
-
-
+ />
+
+ />
@@ -113,18 +105,13 @@ exports[`policy table should show empty state when there are not any policies 1`
>
+ />
diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/license_status.test.js.snap b/x-pack/plugins/license_management/__jest__/__snapshots__/license_status.test.js.snap
index 4784586c92083..1443151323bb1 100644
--- a/x-pack/plugins/license_management/__jest__/__snapshots__/license_status.test.js.snap
+++ b/x-pack/plugins/license_management/__jest__/__snapshots__/license_status.test.js.snap
@@ -1,5 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
-exports[`LicenseStatus component should display display warning is expired 1`] = `"Your Platinum license has expired
"`;
+exports[`LicenseStatus component should display display warning is expired 1`] = `"Your Platinum license has expired
"`;
-exports[`LicenseStatus component should display normally when license is active 1`] = `"Your Gold license is active
Your license will expire on October 12, 2099 7:00 PM EST
"`;
+exports[`LicenseStatus component should display normally when license is active 1`] = `"Your Gold license is active
Your license will expire on October 12, 2099 7:00 PM EST
"`;
diff --git a/x-pack/plugins/license_management/__jest__/__snapshots__/upload_license.test.js.snap b/x-pack/plugins/license_management/__jest__/__snapshots__/upload_license.test.js.snap
index 7ce269bab1891..ffe8054c912ad 100644
--- a/x-pack/plugins/license_management/__jest__/__snapshots__/upload_license.test.js.snap
+++ b/x-pack/plugins/license_management/__jest__/__snapshots__/upload_license.test.js.snap
@@ -201,17 +201,13 @@ exports[`UploadLicense should display a modal when license requires acknowledgem
>
+ />
+ />
+ />
-
-
+ />
+
@@ -928,31 +908,23 @@ exports[`UploadLicense should display a modal when license requires acknowledgem
size="l"
type="importAction"
>
-
-
+ />
+
-
-
+
-
-
+
-
-
+ />
+
-
-
+
@@ -541,30 +532,21 @@ exports[`UpgradeFailure component passes expected text for not manual upgrade 1`
size="xl"
type="alert"
>
-
-
+ />
+
@@ -899,30 +881,21 @@ exports[`UpgradeFailure component passes expected text for not new pipeline 1`]
size="xl"
type="alert"
>
-
-
+ />
+
diff --git a/x-pack/plugins/monitoring/public/components/no_data/__tests__/__snapshots__/no_data.test.js.snap b/x-pack/plugins/monitoring/public/components/no_data/__tests__/__snapshots__/no_data.test.js.snap
index a4ed9a6fa987f..b7c4d4cd03812 100644
--- a/x-pack/plugins/monitoring/public/components/no_data/__tests__/__snapshots__/no_data.test.js.snap
+++ b/x-pack/plugins/monitoring/public/components/no_data/__tests__/__snapshots__/no_data.test.js.snap
@@ -12,21 +12,13 @@ exports[`NoData should show a default message if reason is unknown 1`] = `
class="euiPanel euiPanel--paddingLarge euiPageContent eui-textCenter euiPageContent--verticalCenter euiPageContent--horizontalCenter"
>
+ />
@@ -84,21 +76,13 @@ exports[`NoData should show text next to the spinner while checking a setting 1`
class="euiPanel euiPanel--paddingLarge euiPageContent eui-textCenter euiPageContent--verticalCenter euiPageContent--horizontalCenter"
>
+ />
diff --git a/x-pack/plugins/remote_clusters/public/sections/components/remote_cluster_form/__snapshots__/remote_cluster_form.test.js.snap b/x-pack/plugins/remote_clusters/public/sections/components/remote_cluster_form/__snapshots__/remote_cluster_form.test.js.snap
index dd897ac82965e..52354124e9ec5 100644
--- a/x-pack/plugins/remote_clusters/public/sections/components/remote_cluster_form/__snapshots__/remote_cluster_form.test.js.snap
+++ b/x-pack/plugins/remote_clusters/public/sections/components/remote_cluster_form/__snapshots__/remote_cluster_form.test.js.snap
@@ -257,30 +257,21 @@ Array [
class="euiSwitch__track"
>
+ />
+ />