Skip to content

Commit 239e046

Browse files
docs: add missing assignment in render.mdx (#1649)
Co-authored-by: Maciej Jastrzebski <[email protected]>
1 parent 3b098b2 commit 239e046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/12.x/docs/api/render.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function render(
1010
The `render` function is the entry point for writing React Native Testing Library tests. It deeply renders the given React element and returns helpers to query the output components' structure.
1111

1212
```jsx
13-
import { render } from '@testing-library/react-native';
13+
import { render, screen } from '@testing-library/react-native';
1414

1515
test('basic test', () => {
1616
render(<MyApp />);

0 commit comments

Comments
 (0)