From 226497bb5c5de97a169324e3d962a6ce1e9e9099 Mon Sep 17 00:00:00 2001 From: Rivka Ungar Date: Sun, 12 May 2024 17:52:56 +0300 Subject: [PATCH] fix test snapshots --- .../AlertBanner-snapshots.test.js.snap | 75 ++++++++++++---- .../alertBanner-snapshot-tests.test.js.snap | 90 +++++++++++++++---- 2 files changed, 132 insertions(+), 33 deletions(-) diff --git a/packages/core/src/components/AlertBanner/__tests__/__snapshots__/AlertBanner-snapshots.test.js.snap b/packages/core/src/components/AlertBanner/__tests__/__snapshots__/AlertBanner-snapshots.test.js.snap index ccfe1176ac..2e8e68dfae 100644 --- a/packages/core/src/components/AlertBanner/__tests__/__snapshots__/AlertBanner-snapshots.test.js.snap +++ b/packages/core/src/components/AlertBanner/__tests__/__snapshots__/AlertBanner-snapshots.test.js.snap @@ -50,13 +50,22 @@ exports[`AlertBanner should render correctly with props 1`] = ` aria-busy={false} aria-disabled={false} aria-label="Close" - className="closeBtn button sizeSmall kindTertiary colorOnPrimaryColor" + className="closeBtn button sizeMedium kindTertiary colorOnPrimaryColor noSidePadding" data-testid="alert-banner-close-button" onBlur={[Function]} onClick={[Function]} onFocus={[Function]} onMouseDown={[Function]} onMouseUp={[Function]} + style={ + { + "alignItems": "center", + "height": "32px", + "justifyContent": "center", + "padding": 0, + "width": "32px", + } + } type="button" >