about summary refs log tree commit diff
path: root/test/pages/404.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/404.test.js
parentc27b3a8208fbfde63aa512ba9c5745cbee553eab (diff)
downloadpuszcza-b259358616b5ca56e19b758b1f86ce2421f52c06.tar.gz
puszcza-b259358616b5ca56e19b758b1f86ce2421f52c06.zip
Add snapshots
Diffstat (limited to 'test/pages/404.test.js')
-rw-r--r--test/pages/404.test.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/pages/404.test.js b/test/pages/404.test.js
new file mode 100644
index 0000000..76322da
--- /dev/null
+++ b/test/pages/404.test.js
@@ -0,0 +1,11 @@
+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()
+  })
+})