diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-20 22:25:48 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-10-20 22:25:48 +0200 |
commit | 058d8ff80bf3b1f1744105f5f10fd6fbbbfbb9b1 (patch) | |
tree | 237b3540c9ed31bc1fc2fcaad783646b182732fb /test/pages | |
parent | 84a95c8c4ecf5348341502f95250c4588181786d (diff) | |
download | puszcza-058d8ff80bf3b1f1744105f5f10fd6fbbbfbb9b1.tar.gz puszcza-058d8ff80bf3b1f1744105f5f10fd6fbbbfbb9b1.zip |
Move to 'tests'
Diffstat (limited to 'test/pages')
-rw-r--r-- | test/pages/404.test.js | 11 | ||||
-rw-r--r-- | test/pages/__snapshots__/404.test.js.snap | 13 | ||||
-rw-r--r-- | test/pages/__snapshots__/download.test.js.snap | 25 | ||||
-rw-r--r-- | test/pages/__snapshots__/index.test.js.snap | 9 | ||||
-rw-r--r-- | test/pages/__snapshots__/kontakt.test.js.snap | 31 | ||||
-rw-r--r-- | test/pages/__snapshots__/o-nas.test.js.snap | 7 | ||||
-rw-r--r-- | test/pages/download.test.js | 11 | ||||
-rw-r--r-- | test/pages/index.test.js | 11 | ||||
-rw-r--r-- | test/pages/kontakt.test.js | 11 | ||||
-rw-r--r-- | test/pages/o-nas.test.js | 11 |
10 files changed, 0 insertions, 140 deletions
diff --git a/test/pages/404.test.js b/test/pages/404.test.js deleted file mode 100644 index 76322da..0000000 --- a/test/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/test/pages/__snapshots__/404.test.js.snap b/test/pages/__snapshots__/404.test.js.snap deleted file mode 100644 index 44419f9..0000000 --- a/test/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/test/pages/__snapshots__/download.test.js.snap b/test/pages/__snapshots__/download.test.js.snap deleted file mode 100644 index 05d1361..0000000 --- a/test/pages/__snapshots__/download.test.js.snap +++ /dev/null @@ -1,25 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`download match snapshot 1`] = ` -<div - class="container" -> - <h1> - Do pobrania - </h1> - - <a - class="link" - href="/files/Karta_próby_na_sprawność.pdf" - > - Karta próby na sprawność - </a> - - <a - class="link" - href="/files/Próba_Harcerza.pdf" - > - Próba Harcerza - </a> -</div> -`; diff --git a/test/pages/__snapshots__/index.test.js.snap b/test/pages/__snapshots__/index.test.js.snap deleted file mode 100644 index af3d906..0000000 --- a/test/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/test/pages/__snapshots__/kontakt.test.js.snap b/test/pages/__snapshots__/kontakt.test.js.snap deleted file mode 100644 index 22be789..0000000 --- a/test/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/test/pages/__snapshots__/o-nas.test.js.snap b/test/pages/__snapshots__/o-nas.test.js.snap deleted file mode 100644 index fbdc54c..0000000 --- a/test/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/test/pages/download.test.js b/test/pages/download.test.js deleted file mode 100644 index 78f16d9..0000000 --- a/test/pages/download.test.js +++ /dev/null @@ -1,11 +0,0 @@ -import { shallowMount } from '@vue/test-utils' -import download from '../../pages/download' - -describe('download', () => { - // Now mount the component and you have the wrapper - const wrapper = shallowMount(download) - - it('match snapshot', () => { - expect(wrapper.element).toMatchSnapshot() - }) -}) diff --git a/test/pages/index.test.js b/test/pages/index.test.js deleted file mode 100644 index 1e262b3..0000000 --- a/test/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/test/pages/kontakt.test.js b/test/pages/kontakt.test.js deleted file mode 100644 index d99e120..0000000 --- a/test/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/test/pages/o-nas.test.js b/test/pages/o-nas.test.js deleted file mode 100644 index 8b87253..0000000 --- a/test/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() - }) -}) |