Created
April 20, 2022 14:35
-
-
Save MarcosSarges/cd6add6acf3d74a5de1c6f1659495f1e 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
| describe('when a Ref is provided', () => { | |
| it('should export the reload method', () => { | |
| const webView = tree.getByTestId('webView'); | |
| const ref = webView.props.children[1].ref; | |
| expect(ref.current.reload).toBeTruthy(); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment