From 31ed9410a4b03db47d66411c3246e510999bfcbf Mon Sep 17 00:00:00 2001 From: Awais Ansari Date: Tue, 30 Apr 2024 20:07:23 +0500 Subject: [PATCH] test: added test cases for NotificationsBanner --- src/__snapshots__/App.test.jsx.snap | 2 ++ .../NotificationsBanner.test.jsx.snap | 29 +++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 src/containers/NotificationsBanner/__snapshots__/NotificationsBanner.test.jsx.snap diff --git a/src/__snapshots__/App.test.jsx.snap b/src/__snapshots__/App.test.jsx.snap index ad16942b..87f6cec1 100644 --- a/src/__snapshots__/App.test.jsx.snap +++ b/src/__snapshots__/App.test.jsx.snap @@ -12,6 +12,7 @@ exports[`App router component snapshot: disabled (show demo warning) 1`] = ` /> +
@@ -36,6 +37,7 @@ exports[`App router component snapshot: enabled 1`] = ` data-testid="header" /> +
diff --git a/src/containers/NotificationsBanner/__snapshots__/NotificationsBanner.test.jsx.snap b/src/containers/NotificationsBanner/__snapshots__/NotificationsBanner.test.jsx.snap new file mode 100644 index 00000000..ba208b01 --- /dev/null +++ b/src/containers/NotificationsBanner/__snapshots__/NotificationsBanner.test.jsx.snap @@ -0,0 +1,29 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`NotificationsBanner component snapshots 1`] = ` + + + + + + + + +`;