about summary refs log tree commit diff
path: root/test/pages/download.test.js
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-31 11:00:58 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-08-31 11:00:58 +0200
commitb259358616b5ca56e19b758b1f86ce2421f52c06 (patch)
tree1b7598c0b4bed7dcfaf3c009534872107888b7dc /test/pages/download.test.js
parentc27b3a8208fbfde63aa512ba9c5745cbee553eab (diff)
downloadpuszcza-b259358616b5ca56e19b758b1f86ce2421f52c06.tar.gz
puszcza-b259358616b5ca56e19b758b1f86ce2421f52c06.zip
Add snapshots
Diffstat (limited to 'test/pages/download.test.js')
-rw-r--r--test/pages/download.test.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/pages/download.test.js b/test/pages/download.test.js
new file mode 100644
index 0000000..78f16d9
--- /dev/null
+++ b/test/pages/download.test.js
@@ -0,0 +1,11 @@
+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()
+  })
+})