We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b098b2 commit 9769abdCopy full SHA for 9769abd
website/docs/12.x/docs/api/render.mdx
@@ -13,7 +13,7 @@ The `render` function is the entry point for writing React Native Testing Librar
13
import { render } from '@testing-library/react-native';
14
15
test('basic test', () => {
16
- render(<MyApp />);
+ const screen = render(<MyApp />);
17
expect(screen.getAllByRole('button', { name: 'start' })).toBeOnTheScreen();
18
});
19
```
0 commit comments