From 5b9bd477bf0c7b24968306880b12fd5297458186 Mon Sep 17 00:00:00 2001 From: Vladimir Metnev Date: Sun, 10 Sep 2017 13:58:12 +0300 Subject: [PATCH] feat: add shapshots for Footer, Header, Sidebar feat: add shapshots for Footer, Header, Sidebar --- .../Footer/__snapshots__/index.test.jsx.snap | 40 +++++++ .../Header/__snapshots__/index.test.jsx.snap | 49 +++++++++ .../Sidebar/__snapshots__/index.test.jsx.snap | 102 ++++++++++++++++++ 3 files changed, 191 insertions(+) create mode 100644 src/common/components/parts/Footer/__snapshots__/index.test.jsx.snap create mode 100644 src/common/components/parts/Header/__snapshots__/index.test.jsx.snap create mode 100644 src/common/components/parts/Sidebar/__snapshots__/index.test.jsx.snap diff --git a/src/common/components/parts/Footer/__snapshots__/index.test.jsx.snap b/src/common/components/parts/Footer/__snapshots__/index.test.jsx.snap new file mode 100644 index 00000000..45e4d158 --- /dev/null +++ b/src/common/components/parts/Footer/__snapshots__/index.test.jsx.snap @@ -0,0 +1,40 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Footer component same snapshot 1`] = ` + + + + + + +
+ + + Noir + + Semantic.UI is cool, really. + + +
+
+
+
+
+
+
+`; diff --git a/src/common/components/parts/Header/__snapshots__/index.test.jsx.snap b/src/common/components/parts/Header/__snapshots__/index.test.jsx.snap new file mode 100644 index 00000000..db4ad2f9 --- /dev/null +++ b/src/common/components/parts/Header/__snapshots__/index.test.jsx.snap @@ -0,0 +1,49 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Header component same snapshot at Dashboard on non-mobile screen 1`] = ` + + + + Dashboard + + + + user + , + } + } + /> + } + inverted={true} + on="hover" + position="top left" + trigger={ + + + + } + /> + + +`; diff --git a/src/common/components/parts/Sidebar/__snapshots__/index.test.jsx.snap b/src/common/components/parts/Sidebar/__snapshots__/index.test.jsx.snap new file mode 100644 index 00000000..5dfe65a5 --- /dev/null +++ b/src/common/components/parts/Sidebar/__snapshots__/index.test.jsx.snap @@ -0,0 +1,102 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Sidebar component same snapshot if Sidebar is open and it is on mobile screen 1`] = ` + + + + + + + + Dashboard + + + + + Users + + + + + Github + + + + + Auth + + + + + User + + + + + Logout + + +`;