about summary refs log tree commit diff
path: root/test/pages/404.test.js
diff options
context:
space:
mode:
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()
+  })
+})