Created
June 13, 2018 16:18
-
-
Save JakeDawkins/1913bac39c32aed46f944869b0dd03ec 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('should render loading state initially', () => { | |
| const component = renderer.create( | |
| <MockedProvider mocks={[]}> | |
| <Dog /> | |
| </MockedProvider>, | |
| ); | |
| const tree = component.toJSON(); | |
| expect(tree.children).toContain('Loading...'); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment