+ EuiIconMock
+
-
-
-
+
+ EuiIconMock
+
diff --git a/public/pages/Destinations/containers/DestinationsList/__snapshots__/DestinationsList.test.js.snap b/public/pages/Destinations/containers/DestinationsList/__snapshots__/DestinationsList.test.js.snap
index d065675c7..3cbd3af90 100644
--- a/public/pages/Destinations/containers/DestinationsList/__snapshots__/DestinationsList.test.js.snap
+++ b/public/pages/Destinations/containers/DestinationsList/__snapshots__/DestinationsList.test.js.snap
@@ -125,25 +125,9 @@ exports[`DestinationsList renders when Notification plugin is installed 1`] = `
size="m"
type="alert"
>
-
-
-
+
+ EuiIconMock
+
-
-
-
+
+ EuiIconMock
+
@@ -393,30 +359,9 @@ exports[`DestinationsList renders when Notification plugin is installed 1`] = `
size="m"
type="arrowDown"
>
-
-
-
+
+ EuiIconMock
+
-
-
-
+
+ EuiIconMock
+
@@ -740,25 +669,9 @@ exports[`DestinationsList renders when Notification plugin is installed 1`] = `
size="m"
type="arrowDown"
>
-
-
-
+
+ EuiIconMock
+
@@ -830,25 +743,9 @@ exports[`DestinationsList renders when Notification plugin is installed 1`] = `
size="m"
type="arrowLeft"
>
-
-
-
+
+ EuiIconMock
+
@@ -973,25 +870,9 @@ exports[`DestinationsList renders when Notification plugin is installed 1`] = `
size="m"
type="arrowRight"
>
-
-
-
+
+ EuiIconMock
+
@@ -1208,25 +1089,9 @@ exports[`DestinationsList renders when Notification plugin is installed 1`] = `
size="s"
type="arrowDown"
>
-
-
-
+
+ EuiIconMock
+
-
-
-
+
+ EuiIconMock
+
@@ -1750,30 +1599,9 @@ exports[`DestinationsList renders when Notification plugin is not installed 1`]
size="m"
type="alert"
>
-
-
-
+
+ EuiIconMock
+
-
-
-
+
+ EuiIconMock
+
@@ -2103,29 +1911,9 @@ exports[`DestinationsList renders when Notification plugin is not installed 1`]
size="m"
type="search"
>
-
-
-
+
+ EuiIconMock
+
@@ -2213,30 +2001,9 @@ exports[`DestinationsList renders when Notification plugin is not installed 1`]
size="m"
type="arrowDown"
>
-
-
-
+
+ EuiIconMock
+
@@ -2308,30 +2075,9 @@ exports[`DestinationsList renders when Notification plugin is not installed 1`]
size="m"
type="arrowLeft"
>
-
-
-
+
+ EuiIconMock
+
@@ -2456,30 +2202,9 @@ exports[`DestinationsList renders when Notification plugin is not installed 1`]
size="m"
type="arrowRight"
>
-
-
-
+
+ EuiIconMock
+
@@ -2696,30 +2421,9 @@ exports[`DestinationsList renders when Notification plugin is not installed 1`]
size="s"
type="arrowDown"
>
-
-
-
+
+ EuiIconMock
+
-
-
-
+
+ EuiIconMock
+
@@ -3247,30 +2931,9 @@ exports[`DestinationsList renders when email is disallowed 1`] = `
size="m"
type="alert"
>
-
-
-
+
+ EuiIconMock
+
-
-
-
+
+ EuiIconMock
+
@@ -3606,29 +3249,9 @@ exports[`DestinationsList renders when email is disallowed 1`] = `
size="m"
type="search"
>
-
-
-
+
+ EuiIconMock
+
@@ -3746,30 +3369,9 @@ exports[`DestinationsList renders when email is disallowed 1`] = `
size="m"
type="arrowDown"
>
-
-
-
+
+ EuiIconMock
+
@@ -3841,30 +3443,9 @@ exports[`DestinationsList renders when email is disallowed 1`] = `
size="m"
type="arrowLeft"
>
-
-
-
+
+ EuiIconMock
+
@@ -3989,30 +3570,9 @@ exports[`DestinationsList renders when email is disallowed 1`] = `
size="m"
type="arrowRight"
>
-
-
-
+
+ EuiIconMock
+
@@ -4229,30 +3789,9 @@ exports[`DestinationsList renders when email is disallowed 1`] = `
size="s"
type="arrowDown"
>
-
-
-
+
+ EuiIconMock
+
-
-
-
+
+ EuiIconMock
+
diff --git a/public/pages/Monitors/components/MonitorActions/__snapshots__/MonitorActions.test.js.snap b/public/pages/Monitors/components/MonitorActions/__snapshots__/MonitorActions.test.js.snap
index fa25117d4..2b6b0796b 100644
--- a/public/pages/Monitors/components/MonitorActions/__snapshots__/MonitorActions.test.js.snap
+++ b/public/pages/Monitors/components/MonitorActions/__snapshots__/MonitorActions.test.js.snap
@@ -22,16 +22,9 @@ exports[`MonitorActions renders 1`] = `
-
+
+ EuiIconMock
+
diff --git a/test/setup.jest.js b/test/setup.jest.js
index e5fbbdf93..d012e2476 100644
--- a/test/setup.jest.js
+++ b/test/setup.jest.js
@@ -6,13 +6,13 @@
import React from 'react';
// https://github.com/elastic/eui/issues/2530
-jest.mock('@elastic/eui/lib/components/icon', () => ({
+jest.mock('@elastic/eui/lib/eui_components/icon', () => ({
EuiIcon: () => EuiIconMock
,
__esModule: true,
- IconPropType: require('@elastic/eui/lib/components/icon/icon').IconPropType,
- ICON_TYPES: require('@elastic/eui/lib/components/icon/icon').TYPES,
- ICON_SIZES: require('@elastic/eui/lib/components/icon/icon').SIZES,
- ICON_COLORS: require('@elastic/eui/lib/components/icon/icon').COLORS,
+ IconPropType: require('@elastic/eui/lib/eui_components/icon/icon').IconPropType,
+ ICON_TYPES: require('@elastic/eui/lib/eui_components/icon/icon').TYPES,
+ ICON_SIZES: require('@elastic/eui/lib/eui_components/icon/icon').SIZES,
+ ICON_COLORS: require('@elastic/eui/lib/eui_components/icon/icon').COLORS,
}));
jest.mock('@elastic/eui/lib/components/form/form_row/make_id', () => () => 'some_make_id');