Created
September 6, 2018 20:52
-
-
Save kuroski/e425fa63482a6a62321ee7100e8aed32 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { shallowMount } from '@vue/test-utils' | |
import UserView from '@/views/UserView' | |
describe('UserView', () => { | |
it('renders the component', () => { | |
// arrange | |
const wrapper = shallowMount(UserView) | |
// assert | |
expect(wrapper.html()).toMatchSnapshot() | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment