We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6617ccc commit c160fcdCopy full SHA for c160fcd
docs/dom-testing-library/faq.mdx
@@ -91,7 +91,7 @@ index in question:
91
const items = [
92
/* your items */
93
]
94
-const container = render(/* however you render this stuff */)
+const { container } = render(/* however you render this stuff */)
95
const thirdItem = getAllByRole(container, 'listitem')[2]
96
```
97
0 commit comments