From 0551c436d8785aa345d757a257d5b2e733c1232c Mon Sep 17 00:00:00 2001 From: Katie McFaul Date: Mon, 17 Apr 2023 12:53:29 -0400 Subject: [PATCH] update snap --- .../Modal/__tests__/ModalBoxTitle.test.tsx | 4 +-- .../__snapshots__/ModalBoxTitle.test.tsx.snap | 30 +++++++++++++------ 2 files changed, 23 insertions(+), 11 deletions(-) diff --git a/packages/react-core/src/components/Modal/__tests__/ModalBoxTitle.test.tsx b/packages/react-core/src/components/Modal/__tests__/ModalBoxTitle.test.tsx index 7fbbd285499..84e7c3f1e20 100644 --- a/packages/react-core/src/components/Modal/__tests__/ModalBoxTitle.test.tsx +++ b/packages/react-core/src/components/Modal/__tests__/ModalBoxTitle.test.tsx @@ -31,9 +31,9 @@ test('ModalBoxTitle danger variant', () => { expect(asFragment()).toMatchSnapshot(); }); -test('ModalBoxTitle default variant', () => { +test('ModalBoxTitle custom variant', () => { const { asFragment } = render( - + content ); diff --git a/packages/react-core/src/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap b/packages/react-core/src/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap index 55437b78c21..de899e54416 100644 --- a/packages/react-core/src/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap +++ b/packages/react-core/src/components/Modal/__tests__/__snapshots__/ModalBoxTitle.test.tsx.snap @@ -65,7 +65,7 @@ exports[`ModalBoxTitle custom icon variant 1`] = ` `; -exports[`ModalBoxTitle danger variant 1`] = ` +exports[`ModalBoxTitle custom variant 1`] = `

- Danger alert: + Custom alert: - Test Modal Box danger + Test Modal Box warning

`; -exports[`ModalBoxTitle default variant 1`] = ` +exports[`ModalBoxTitle danger variant 1`] = `

+ > + + - Default alert: + Danger alert: - Test Modal Box warning + Test Modal Box danger