Created
September 2, 2016 12:50
-
-
Save sminutoli/b9074bf444e2c74bf2c821ad7f63a59f 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
const wrapper = shallow(<Login {...props}/>); | |
it('should have a title', ()=>{ | |
expect(wrapper.find('.login__title').length).toBe(1); | |
}); | |
it('should render the correct title', ()=>{ | |
expect(wrapper.find('.login__title').prop('children')).toBe('Bienvenido a Warehouse'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment