Created
July 1, 2017 15:48
-
-
Save sanjsanj/59b704f6e0f9e25af588d9dbd4087d83 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
/* global expect, it, describe */ | |
import React from 'react'; | |
import { shallow } from 'enzyme'; | |
import AddTodo from '.'; | |
describe('AddTodo component', () => { | |
it('Should render successfully', () => { | |
const component = shallow(<AddTodo />); | |
expect(component.exists()).toEqual(true); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment