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