Skip to content

Commit

Permalink
docs: add missing assignment in render.mdx (#1649)
Browse files Browse the repository at this point in the history
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
  • Loading branch information
vonovak and mdjastrzebski authored Aug 25, 2024
1 parent 3b098b2 commit 239e046
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/12.x/docs/api/render.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function render(
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.

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

test('basic test', () => {
render(<MyApp />);
Expand Down

0 comments on commit 239e046

Please sign in to comment.