Created
November 12, 2016 21:42
-
-
Save ofirdagan/e2a589204281e2706a0563757ba183e4 to your computer and use it in GitHub Desktop.
enzyme-drivers-test
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
it('should render component', () => { | |
//given | |
driver.render({text: 'It works!'}); | |
//then | |
expect(driver.text).toBe('It works!'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment