about summary refs log tree commit diff
path: root/test/__snapshots__
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-30 22:31:54 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-30 22:31:54 +0200
commit51b96f0c0bc9e00477e24d1d799dba0e3a519f24 (patch)
tree59fbd931207ba86976418cea57c928beee2e31cc /test/__snapshots__
parentf0d5b38eb23e85e993bf040f7e84c5b6b16d7566 (diff)
downloadpuszcza-51b96f0c0bc9e00477e24d1d799dba0e3a519f24.tar.gz
puszcza-51b96f0c0bc9e00477e24d1d799dba0e3a519f24.zip
Add NavBar test
Diffstat (limited to 'test/__snapshots__')
-rw-r--r--test/__snapshots__/NavBar.test.js.snap40
-rw-r--r--test/__snapshots__/NavLink.test.js.snap14
2 files changed, 54 insertions, 0 deletions
diff --git a/test/__snapshots__/NavBar.test.js.snap b/test/__snapshots__/NavBar.test.js.snap
new file mode 100644
index 0000000..fb90c28
--- /dev/null
+++ b/test/__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/test/__snapshots__/NavLink.test.js.snap b/test/__snapshots__/NavLink.test.js.snap
new file mode 100644
index 0000000..122e5c8
--- /dev/null
+++ b/test/__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>
+`;