Skip to content

Commit bcba024

Browse files
authored
Add missing import in docs (testing-library#776)
1 parent da75c05 commit bcba024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/queries/about.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ retries and the default testID attribute.
3636
## Example
3737

3838
```jsx
39-
import { screen } from '@testing-library/react' // (or /dom, /vue, ...)
39+
import { render, screen } from '@testing-library/react' // (or /dom, /vue, ...)
4040

4141
test('should show login form', () => {
4242
render(<Login />)

0 commit comments

Comments
 (0)