diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pages/__snapshots__/download.test.js.snap | 25 | ||||
-rw-r--r-- | tests/pages/do-pobrania.js (renamed from tests/pages/download.test.js) | 6 |
2 files changed, 3 insertions, 28 deletions
diff --git a/tests/pages/__snapshots__/download.test.js.snap b/tests/pages/__snapshots__/download.test.js.snap deleted file mode 100644 index 05d1361..0000000 --- a/tests/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/tests/pages/download.test.js b/tests/pages/do-pobrania.js index 78f16d9..d4bd649 100644 --- a/tests/pages/download.test.js +++ b/tests/pages/do-pobrania.js @@ -1,9 +1,9 @@ import { shallowMount } from '@vue/test-utils' -import download from '../../pages/download' +import doPobrania from '../../pages/do-pobrania' -describe('download', () => { +describe('doPobrania', () => { // Now mount the component and you have the wrapper - const wrapper = shallowMount(download) + const wrapper = shallowMount(doPobrania) it('match snapshot', () => { expect(wrapper.element).toMatchSnapshot() |