mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
docs: add missing assignment in render.mdx (#1649)
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
This commit is contained in:
@@ -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 />);
|
||||
|
||||
Reference in New Issue
Block a user