about summary refs log tree commit diff
path: root/tests/components/FacebookFeed.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/components/FacebookFeed.test.js')
-rw-r--r--tests/components/FacebookFeed.test.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/components/FacebookFeed.test.js b/tests/components/FacebookFeed.test.js
new file mode 100644
index 0000000..7abedf6
--- /dev/null
+++ b/tests/components/FacebookFeed.test.js
@@ -0,0 +1,11 @@
+import { shallowMount } from '@vue/test-utils'
+import FacebookFeed from '../../components/FacebookFeed'
+
+describe('FacebookFeed', () => {
+  // Now mount the component and you have the wrapper
+  const wrapper = shallowMount(FacebookFeed)
+
+  it('match snapshot', () => {
+    expect(wrapper.element).toMatchSnapshot()
+  })
+})