Skip to content

Instantly share code, notes, and snippets.

@lmiller1990
Created January 26, 2018 10:47
Show Gist options
  • Save lmiller1990/88d9ae03c097b7d73d018d1d3fbbb730 to your computer and use it in GitHub Desktop.
Save lmiller1990/88d9ae03c097b7d73d018d1d3fbbb730 to your computer and use it in GitHub Desktop.
import { shallow } from 'vue-test-utils'
import Create from './Create'
describe('Create', () => {
it('renders a Create Post title', () => {
const wrapper = shallow(Create)
expect(wrapper.find('.title').text()).toEqual('Create Post')
})
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment