Created
December 30, 2018 09:20
-
-
Save stelmakh/1518aa32d6559cc84220c4f89e53c40c 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
| it('has an error state', () => { | |
| const component = shallow( | |
| <Input | |
| error | |
| /> | |
| ); | |
| expect(component.hasClass('error')).toBe(true) | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment