about summary refs log tree commit diff
path: root/tests/unit
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2020-01-29 12:22:09 +0100
committerGitHub <noreply@github.com>2020-01-29 12:22:09 +0100
commit3e5f329cd8c9692e24f5fd56a5e4189bf2202e0d (patch)
tree8f9140f2326df571a6990df6e9cbd1525f19e374 /tests/unit
parent3c2ac6715dfffc2eda38e014ed0b4986ccc7f75a (diff)
parent0a8355312990db95de3aa4e946b907ed0abf5a12 (diff)
downloadpuszcza-3e5f329cd8c9692e24f5fd56a5e4189bf2202e0d.tar.gz
puszcza-3e5f329cd8c9692e24f5fd56a5e4189bf2202e0d.zip
Merge pull request #26 from 19pdh/feature/json-api
Feature/json api
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/__snapshots__/storybook.test.js.snap70
1 files changed, 40 insertions, 30 deletions
diff --git a/tests/unit/__snapshots__/storybook.test.js.snap b/tests/unit/__snapshots__/storybook.test.js.snap
index 537d045..496f7a4 100644
--- a/tests/unit/__snapshots__/storybook.test.js.snap
+++ b/tests/unit/__snapshots__/storybook.test.js.snap
@@ -159,8 +159,9 @@ exports[`Storyshots Posts/PostLink default 1`] = `
   <div
     class="post-link"
   >
-    <a
-      href="/kronika/2019/20/11/test"
+    <nuxt-link
+      no-prefetch=""
+      to="/kronika/2019/20/11/test"
     >
       <div>
         <div
@@ -184,7 +185,7 @@ exports[`Storyshots Posts/PostLink default 1`] = `
           </p>
         </div>
       </div>
-    </a>
+    </nuxt-link>
   </div>
 </div>
 `;
@@ -196,8 +197,9 @@ exports[`Storyshots Posts/PostLink with image 1`] = `
   <div
     class="post-link"
   >
-    <a
-      href="/kronika/2019/20/11/test"
+    <nuxt-link
+      no-prefetch=""
+      to="/kronika/2019/20/11/test"
     >
       <div>
         <div
@@ -221,7 +223,7 @@ exports[`Storyshots Posts/PostLink with image 1`] = `
           </p>
         </div>
       </div>
-    </a>
+    </nuxt-link>
   </div>
 </div>
 `;
@@ -238,8 +240,9 @@ exports[`Storyshots Posts/PurePostList default 1`] = `
     <div
       class="post-link"
     >
-      <a
-        href="/kronika/2019/20/11/test"
+      <nuxt-link
+        no-prefetch=""
+        to="/kronika/2019/20/11/test"
       >
         <div>
           <div
@@ -263,13 +266,14 @@ exports[`Storyshots Posts/PurePostList default 1`] = `
             </p>
           </div>
         </div>
-      </a>
+      </nuxt-link>
     </div>
     <div
       class="post-link"
     >
-      <a
-        href="/kronika/2019/20/11/test"
+      <nuxt-link
+        no-prefetch=""
+        to="/kronika/2019/20/11/test"
       >
         <div>
           <div
@@ -293,13 +297,14 @@ exports[`Storyshots Posts/PurePostList default 1`] = `
             </p>
           </div>
         </div>
-      </a>
+      </nuxt-link>
     </div>
     <div
       class="post-link"
     >
-      <a
-        href="/kronika/2019/20/11/test"
+      <nuxt-link
+        no-prefetch=""
+        to="/kronika/2019/20/11/test"
       >
         <div>
           <div
@@ -323,13 +328,14 @@ exports[`Storyshots Posts/PurePostList default 1`] = `
             </p>
           </div>
         </div>
-      </a>
+      </nuxt-link>
     </div>
     <div
       class="post-link"
     >
-      <a
-        href="/kronika/2019/20/11/test"
+      <nuxt-link
+        no-prefetch=""
+        to="/kronika/2019/20/11/test"
       >
         <div>
           <div
@@ -353,13 +359,14 @@ exports[`Storyshots Posts/PurePostList default 1`] = `
             </p>
           </div>
         </div>
-      </a>
+      </nuxt-link>
     </div>
     <div
       class="post-link"
     >
-      <a
-        href="/kronika/2019/20/11/test"
+      <nuxt-link
+        no-prefetch=""
+        to="/kronika/2019/20/11/test"
       >
         <div>
           <div
@@ -383,13 +390,14 @@ exports[`Storyshots Posts/PurePostList default 1`] = `
             </p>
           </div>
         </div>
-      </a>
+      </nuxt-link>
     </div>
     <div
       class="post-link"
     >
-      <a
-        href="/kronika/2019/20/11/test"
+      <nuxt-link
+        no-prefetch=""
+        to="/kronika/2019/20/11/test"
       >
         <div>
           <div
@@ -413,13 +421,14 @@ exports[`Storyshots Posts/PurePostList default 1`] = `
             </p>
           </div>
         </div>
-      </a>
+      </nuxt-link>
     </div>
     <div
       class="post-link"
     >
-      <a
-        href="/kronika/2019/20/11/test"
+      <nuxt-link
+        no-prefetch=""
+        to="/kronika/2019/20/11/test"
       >
         <div>
           <div
@@ -443,13 +452,14 @@ exports[`Storyshots Posts/PurePostList default 1`] = `
             </p>
           </div>
         </div>
-      </a>
+      </nuxt-link>
     </div>
     <div
       class="post-link"
     >
-      <a
-        href="/kronika/2019/20/11/test"
+      <nuxt-link
+        no-prefetch=""
+        to="/kronika/2019/20/11/test"
       >
         <div>
           <div
@@ -473,7 +483,7 @@ exports[`Storyshots Posts/PurePostList default 1`] = `
             </p>
           </div>
         </div>
-      </a>
+      </nuxt-link>
     </div>
   </div>
 </div>