diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-11-28 11:18:45 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-11-28 11:18:45 +0100 |
commit | 7051b88fd36e56dcfab7b73b80811c93bc1d0921 (patch) | |
tree | fec99da81e654e710a2df1f0cb66cff1c4406a7b /tests/components/__snapshots__ | |
parent | 1b70d2f3c1dbed43317c1da7ed8092daac27168d (diff) | |
parent | e12c489d3ad6111c78c9cb4d4b8ab77b053c49ad (diff) | |
download | puszcza-7051b88fd36e56dcfab7b73b80811c93bc1d0921.tar.gz puszcza-7051b88fd36e56dcfab7b73b80811c93bc1d0921.zip |
Merge remote-tracking branch 'origin/develop' into feature/ranking
Diffstat (limited to 'tests/components/__snapshots__')
6 files changed, 183 insertions, 0 deletions
diff --git a/tests/components/__snapshots__/FacebookFeed.test.js.snap b/tests/components/__snapshots__/FacebookFeed.test.js.snap new file mode 100644 index 0000000..6819e12 --- /dev/null +++ b/tests/components/__snapshots__/FacebookFeed.test.js.snap @@ -0,0 +1,13 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`FacebookFeed match snapshot 1`] = ` +<section + class="feed" +> + <h1> + Zobacz co się dzieje! + </h1> + + <facebookfindusbutton-stub /> +</section> +`; diff --git a/tests/components/__snapshots__/FacebookFindUsButton.test.js.snap b/tests/components/__snapshots__/FacebookFindUsButton.test.js.snap new file mode 100644 index 0000000..98783c4 --- /dev/null +++ b/tests/components/__snapshots__/FacebookFindUsButton.test.js.snap @@ -0,0 +1,19 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`FacebookFindUsButton match snapshot 1`] = ` +<a + href="https://facebook.com/19pdhpuszcza" + rel="noopener" + target="_blank" +> + <div + class="button" + > + <img + alt="Find us on Facebook" + class="image" + src="/assets/social/find_us_fb.png" + /> + </div> +</a> +`; diff --git a/tests/components/__snapshots__/Footer.test.js.snap b/tests/components/__snapshots__/Footer.test.js.snap new file mode 100644 index 0000000..577f85e --- /dev/null +++ b/tests/components/__snapshots__/Footer.test.js.snap @@ -0,0 +1,66 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Footer match snapshot 1`] = ` +<div + class="footer" + style="background-color: rgb(80, 123, 52);" +> + <div + class="map" + > + <div + class="routes" + > + <nuxt-link + to="/" + > + Home + </nuxt-link> + </div> + + <div + class="routes" + /> + </div> + + <div + class="space" + /> + + <div + class="author" + > + <p> + 19 Poznańska Drużyna Harcerzy Puszcza + </p> + + <div + class="social" + > + <a + href="https://github.com/19pdh/" + rel="”noopener”" + target="_blank" + > + <img + alt="Github" + class="icon" + src="/assets/social/github.png" + /> + </a> + + <a + href="https://www.facebook.com/19pdhpuszcza/" + rel="”noopener”" + target="_blank" + > + <img + alt="Facebook" + class="icon" + src="/assets/social/facebook.png" + /> + </a> + </div> + </div> +</div> +`; diff --git a/tests/components/__snapshots__/JoinUs.test.js.snap b/tests/components/__snapshots__/JoinUs.test.js.snap new file mode 100644 index 0000000..832268c --- /dev/null +++ b/tests/components/__snapshots__/JoinUs.test.js.snap @@ -0,0 +1,31 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`JoinUs match snapshot 1`] = ` +<section + class="joinus" +> + <div + class="heading" + > + <div + class="title" + > + <div + class="text" + > + Rozpocznij swoją harcerską przygodę! + </div> + </div> + + <div + class="button" + > + <router-link + to="/kontakt" + > + Dołącz do nas! + </router-link> + </div> + </div> +</section> +`; diff --git a/tests/components/__snapshots__/NavBar.test.js.snap b/tests/components/__snapshots__/NavBar.test.js.snap new file mode 100644 index 0000000..89ef8e5 --- /dev/null +++ b/tests/components/__snapshots__/NavBar.test.js.snap @@ -0,0 +1,40 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`NavBar match snapshot 1`] = ` +<nav + class="navbar" +> + <div + class="title" + > + <!----> + + <nuxt-link + class="title-name" + to="/" + > + Title + </nuxt-link> + </div> + + <div + class="space" + /> + + <button + class="menu-toggler" + > + Menu + </button> + + <ul + class="links" + > + <navlink-stub + link="/" + name="Home" + /> + + </ul> +</nav> +`; diff --git a/tests/components/__snapshots__/NavLink.test.js.snap b/tests/components/__snapshots__/NavLink.test.js.snap new file mode 100644 index 0000000..122e5c8 --- /dev/null +++ b/tests/components/__snapshots__/NavLink.test.js.snap @@ -0,0 +1,14 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`NavLink match snapshot 1`] = ` +<li + class="navlink" +> + <nuxt-link + class="link" + to="/link" + > + Link + </nuxt-link> +</li> +`; |