diff --git a/CHANGELOG.md b/CHANGELOG.md index 80b8d345cd3..c48ad19ab97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## [`master`](https://github.com/elastic/eui/tree/master) - Added `max-width: 100%` to `EuiKeyPadMenu` to allow it to shrink when its container is smaller than its fixed width ([ #4092](https://github.com/elastic/eui/pull/4092)) +- Changed `EuiIcon` test mock to render as `span` instead of `div` ([#4099](https://github.com/elastic/eui/pull/4099)) **Bug fixes** diff --git a/src/components/accordion/__snapshots__/accordion.test.tsx.snap b/src/components/accordion/__snapshots__/accordion.test.tsx.snap index d44de7e8d9d..020d001c37e 100644 --- a/src/components/accordion/__snapshots__/accordion.test.tsx.snap +++ b/src/components/accordion/__snapshots__/accordion.test.tsx.snap @@ -31,7 +31,7 @@ exports[`EuiAccordion behavior closes when clicked twice 1`] = ` size="m" type="arrowRight" > -
-
-
@@ -217,7 +217,7 @@ exports[`EuiAccordion props arrowDisplay right is rendered 1`] = ` -
@@ -261,7 +261,7 @@ exports[`EuiAccordion props buttonContent is rendered 1`] = ` -
@@ -305,7 +305,7 @@ exports[`EuiAccordion props buttonContentClassName is rendered 1`] = ` -
@@ -345,7 +345,7 @@ exports[`EuiAccordion props extraAction is rendered 1`] = ` -
@@ -392,7 +392,7 @@ exports[`EuiAccordion props forceState is rendered 1`] = ` -
@@ -436,7 +436,7 @@ exports[`EuiAccordion props initialIsOpen is rendered 1`] = ` -
@@ -480,7 +480,7 @@ exports[`EuiAccordion props isLoading is rendered 1`] = ` -
@@ -531,7 +531,7 @@ exports[`EuiAccordion props isLoadingMessage is rendered 1`] = ` -
diff --git a/src/components/badge/__snapshots__/badge.test.tsx.snap b/src/components/badge/__snapshots__/badge.test.tsx.snap index 4c326db3643..bd6e2b78737 100644 --- a/src/components/badge/__snapshots__/badge.test.tsx.snap +++ b/src/components/badge/__snapshots__/badge.test.tsx.snap @@ -307,7 +307,7 @@ exports[`EuiBadge props iconSide left is rendered 1`] = ` > Content -
@@ -328,7 +328,7 @@ exports[`EuiBadge props iconSide right is rendered 1`] = ` > Content -
@@ -349,7 +349,7 @@ exports[`EuiBadge props iconType is rendered 1`] = ` > Content -
diff --git a/src/components/basic_table/__snapshots__/collapsed_item_actions.test.tsx.snap b/src/components/basic_table/__snapshots__/collapsed_item_actions.test.tsx.snap index 775331b52a1..0ecfdaf9f61 100644 --- a/src/components/basic_table/__snapshots__/collapsed_item_actions.test.tsx.snap +++ b/src/components/basic_table/__snapshots__/collapsed_item_actions.test.tsx.snap @@ -17,7 +17,7 @@ exports[`CollapsedItemActions render 1`] = ` data-test-subj="euiCollapsedItemActionsButton" type="button" > -