diff options
Diffstat (limited to 'test/components/FacebookFeed.test.js')
-rw-r--r-- | test/components/FacebookFeed.test.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/components/FacebookFeed.test.js b/test/components/FacebookFeed.test.js new file mode 100644 index 0000000..7abedf6 --- /dev/null +++ b/test/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() + }) +}) |