aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/components/__tests__/__snapshots__
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-06-20 23:08:45 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commit7a8f6604e77859455d8abab8c46af0a4619a9c60 (patch)
treebaa6895d4966fd98202518a52c09f741c9539bbf /vnext/src/components/__tests__/__snapshots__
parentc3e791ae2357bbe220c133e3ab417bd5f7c55410 (diff)
add Footer snapshots
Diffstat (limited to 'vnext/src/components/__tests__/__snapshots__')
-rw-r--r--vnext/src/components/__tests__/__snapshots__/Footer.test.js.snap175
1 files changed, 175 insertions, 0 deletions
diff --git a/vnext/src/components/__tests__/__snapshots__/Footer.test.js.snap b/vnext/src/components/__tests__/__snapshots__/Footer.test.js.snap
new file mode 100644
index 00000000..23f2deff
--- /dev/null
+++ b/vnext/src/components/__tests__/__snapshots__/Footer.test.js.snap
@@ -0,0 +1,175 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`Footer renders correctly with and without sponsors 1`] = `
+<div
+ id="footer"
+>
+ <div
+ id="footer-right"
+ >
+ ·
+ <a
+ href="/help/contacts"
+ rel="nofollow"
+ >
+ Contacts
+ </a>
+ ·
+ <a
+ href="/help/tos"
+ rel="nofollow"
+ >
+ TOS
+ </a>
+ </div>
+ <div
+ id="footer-social"
+ >
+ <a
+ href="https://twitter.com/Juick"
+ rel="nofollow"
+ >
+ <div
+ className="icon icon--ei-sc-twitter icon--m"
+ >
+ <svg
+ className="icon__cnt"
+ dangerouslySetInnerHTML={
+ Object {
+ "__html": "<use xlink:href=#ei-sc-twitter-icon />",
+ }
+ }
+ />
+ </div>
+ </a>
+ <a
+ href="https://vk.com/juick"
+ rel="nofollow"
+ >
+ <div
+ className="icon icon--ei-sc-vk icon--m"
+ >
+ <svg
+ className="icon__cnt"
+ dangerouslySetInnerHTML={
+ Object {
+ "__html": "<use xlink:href=#ei-sc-vk-icon />",
+ }
+ }
+ />
+ </div>
+ </a>
+ <a
+ href="https://www.facebook.com/JuickCom"
+ rel="nofollow"
+ >
+ <div
+ className="icon icon--ei-sc-facebook icon--m"
+ >
+ <svg
+ className="icon__cnt"
+ dangerouslySetInnerHTML={
+ Object {
+ "__html": "<use xlink:href=#ei-sc-facebook-icon />",
+ }
+ }
+ />
+ </div>
+ </a>
+ </div>
+ <div
+ id="footer-left"
+ >
+ juick.com © 2008-2018
+ </div>
+</div>
+`;
+
+exports[`Footer renders correctly with and without sponsors 2`] = `
+<div
+ id="footer"
+>
+ <div
+ id="footer-right"
+ >
+ ·
+ <a
+ href="/help/contacts"
+ rel="nofollow"
+ >
+ Contacts
+ </a>
+ ·
+ <a
+ href="/help/tos"
+ rel="nofollow"
+ >
+ TOS
+ </a>
+ </div>
+ <div
+ id="footer-social"
+ >
+ <a
+ href="https://twitter.com/Juick"
+ rel="nofollow"
+ >
+ <div
+ className="icon icon--ei-sc-twitter icon--m"
+ >
+ <svg
+ className="icon__cnt"
+ dangerouslySetInnerHTML={
+ Object {
+ "__html": "<use xlink:href=#ei-sc-twitter-icon />",
+ }
+ }
+ />
+ </div>
+ </a>
+ <a
+ href="https://vk.com/juick"
+ rel="nofollow"
+ >
+ <div
+ className="icon icon--ei-sc-vk icon--m"
+ >
+ <svg
+ className="icon__cnt"
+ dangerouslySetInnerHTML={
+ Object {
+ "__html": "<use xlink:href=#ei-sc-vk-icon />",
+ }
+ }
+ />
+ </div>
+ </a>
+ <a
+ href="https://www.facebook.com/JuickCom"
+ rel="nofollow"
+ >
+ <div
+ className="icon icon--ei-sc-facebook icon--m"
+ >
+ <svg
+ className="icon__cnt"
+ dangerouslySetInnerHTML={
+ Object {
+ "__html": "<use xlink:href=#ei-sc-facebook-icon />",
+ }
+ }
+ />
+ </div>
+ </a>
+ </div>
+ <div
+ id="footer-left"
+ >
+ juick.com © 2008-2018
+ </div>
+ <div>
+ Sponsors:
+ Sponsored footer
+ </div>
+</div>
+`;