diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-11-28 13:15:22 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2019-11-28 13:15:22 +0100 |
commit | 73e5c7a20e5e8f6a54ab484ea2ce1aac16200b1d (patch) | |
tree | 90e949913650da4b619e3ab1e875731b1410d93f /tests/pages/do-pobrania.js | |
parent | 09fd52c2900a9eb3285ccc0f7574b945f9c8a69d (diff) | |
download | puszcza-73e5c7a20e5e8f6a54ab484ea2ce1aac16200b1d.tar.gz puszcza-73e5c7a20e5e8f6a54ab484ea2ce1aac16200b1d.zip |
Fix tests
Diffstat (limited to 'tests/pages/do-pobrania.js')
-rw-r--r-- | tests/pages/do-pobrania.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/pages/do-pobrania.js b/tests/pages/do-pobrania.js new file mode 100644 index 0000000..d4bd649 --- /dev/null +++ b/tests/pages/do-pobrania.js @@ -0,0 +1,11 @@ +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() + }) +}) |