-
-
Save dvallin/7d63045f49dcda6d2dd4b2f4b37bc7d9 to your computer and use it in GitHub Desktop.
This file contains 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 NewTaskInput from '../../src/components/NewTaskInput' | |
describe('NewTaskInput.vue', () => { | |
it('renders an input field', () => { | |
const wrapper = shallow(NewTaskInput); | |
expect(wrapper.element).toMatchSnapshot(); | |
expect(wrapper.find('input')).toBeDefined(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment