about summary refs log tree commit diff
path: root/tests/pages
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-12-05 11:56:11 -0500
committerGitHub <noreply@github.com>2019-12-05 11:56:11 -0500
commitcd7fa1fb5d499e51b9f2bc833159ee4581b8f2a8 (patch)
treebe10296e0268295db20c536af045c5df6c829a0e /tests/pages
parent070b7725be5fb0db486e9370bea5648c16c8bbfe (diff)
parent34908ab59f58f3d5b229867c84d8b51b07c777d4 (diff)
downloadpuszcza-cd7fa1fb5d499e51b9f2bc833159ee4581b8f2a8.tar.gz
puszcza-cd7fa1fb5d499e51b9f2bc833159ee4581b8f2a8.zip
Merge pull request #13 from 19pdh/storybook
Storybook
Diffstat (limited to 'tests/pages')
-rw-r--r--tests/pages/404.test.js11
-rw-r--r--tests/pages/__snapshots__/404.test.js.snap13
-rw-r--r--tests/pages/__snapshots__/index.test.js.snap9
-rw-r--r--tests/pages/__snapshots__/kontakt.test.js.snap31
-rw-r--r--tests/pages/__snapshots__/o-nas.test.js.snap7
-rw-r--r--tests/pages/do-pobrania.js11
-rw-r--r--tests/pages/index.test.js11
-rw-r--r--tests/pages/kontakt.test.js11
-rw-r--r--tests/pages/o-nas.test.js11
9 files changed, 0 insertions, 115 deletions
diff --git a/tests/pages/404.test.js b/tests/pages/404.test.js
deleted file mode 100644
index 76322da..0000000
--- a/tests/pages/404.test.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import { shallowMount } from '@vue/test-utils'
-import page404 from '../../pages/404'
-
-describe('404', () => {
-  // Now mount the component and you have the wrapper
-  const wrapper = shallowMount(page404)
-
-  it('match snapshot', () => {
-    expect(wrapper.element).toMatchSnapshot()
-  })
-})
diff --git a/tests/pages/__snapshots__/404.test.js.snap b/tests/pages/__snapshots__/404.test.js.snap
deleted file mode 100644
index 44419f9..0000000
--- a/tests/pages/__snapshots__/404.test.js.snap
+++ /dev/null
@@ -1,13 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`404 match snapshot 1`] = `
-<div>
-  <h1>
-    404
-  </h1>
-   
-  <p>
-    Nie znaleziono strony
-  </p>
-</div>
-`;
diff --git a/tests/pages/__snapshots__/index.test.js.snap b/tests/pages/__snapshots__/index.test.js.snap
deleted file mode 100644
index af3d906..0000000
--- a/tests/pages/__snapshots__/index.test.js.snap
+++ /dev/null
@@ -1,9 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`index match snapshot 1`] = `
-<div>
-  <joinus-stub />
-   
-  <facebookfeed-stub />
-</div>
-`;
diff --git a/tests/pages/__snapshots__/kontakt.test.js.snap b/tests/pages/__snapshots__/kontakt.test.js.snap
deleted file mode 100644
index 22be789..0000000
--- a/tests/pages/__snapshots__/kontakt.test.js.snap
+++ /dev/null
@@ -1,31 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`kontakt match snapshot 1`] = `
-<div>
-  <h1>
-    Kontakt z drużynowym
-  </h1>
-   
-  <p>
-    
-    tel:
-    
-    <a
-      href="tel:+48695516492"
-    >
-      +48695516492
-    </a>
-  </p>
-   
-  <p>
-    
-    email:
-    
-    <a
-      href="mailto:patryk.niedzwiedzinski@zhr.pl"
-    >
-      patryk.niedzwiedzinski@zhr.pl
-    </a>
-  </p>
-</div>
-`;
diff --git a/tests/pages/__snapshots__/o-nas.test.js.snap b/tests/pages/__snapshots__/o-nas.test.js.snap
deleted file mode 100644
index fbdc54c..0000000
--- a/tests/pages/__snapshots__/o-nas.test.js.snap
+++ /dev/null
@@ -1,7 +0,0 @@
-// Jest Snapshot v1, https://goo.gl/fbAQLP
-
-exports[`Onas match snapshot 1`] = `
-<h1>
-  O nas
-</h1>
-`;
diff --git a/tests/pages/do-pobrania.js b/tests/pages/do-pobrania.js
deleted file mode 100644
index d4bd649..0000000
--- a/tests/pages/do-pobrania.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import { shallowMount } from '@vue/test-utils'
-import doPobrania from '../../pages/do-pobrania'
-
-describe('doPobrania', () => {
-  // Now mount the component and you have the wrapper
-  const wrapper = shallowMount(doPobrania)
-
-  it('match snapshot', () => {
-    expect(wrapper.element).toMatchSnapshot()
-  })
-})
diff --git a/tests/pages/index.test.js b/tests/pages/index.test.js
deleted file mode 100644
index 1e262b3..0000000
--- a/tests/pages/index.test.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import { shallowMount } from '@vue/test-utils'
-import index from '../../pages/index'
-
-describe('index', () => {
-  // Now mount the component and you have the wrapper
-  const wrapper = shallowMount(index)
-
-  it('match snapshot', () => {
-    expect(wrapper.element).toMatchSnapshot()
-  })
-})
diff --git a/tests/pages/kontakt.test.js b/tests/pages/kontakt.test.js
deleted file mode 100644
index d99e120..0000000
--- a/tests/pages/kontakt.test.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import { shallowMount } from '@vue/test-utils'
-import kontakt from '../../pages/kontakt'
-
-describe('kontakt', () => {
-  // Now mount the component and you have the wrapper
-  const wrapper = shallowMount(kontakt)
-
-  it('match snapshot', () => {
-    expect(wrapper.element).toMatchSnapshot()
-  })
-})
diff --git a/tests/pages/o-nas.test.js b/tests/pages/o-nas.test.js
deleted file mode 100644
index 8b87253..0000000
--- a/tests/pages/o-nas.test.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import { shallowMount } from '@vue/test-utils'
-import Onas from '../../pages/o-nas'
-
-describe('Onas', () => {
-  // Now mount the component and you have the wrapper
-  const wrapper = shallowMount(Onas)
-
-  it('match snapshot', () => {
-    expect(wrapper.element).toMatchSnapshot()
-  })
-})