Skip to content

Commit ad77bf3

Browse files
authored
fix: typo in cheatsheet.mdx (#1196)
Typo in cheatsheet.mdx
1 parent 5a80fa7 commit ad77bf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/dom-testing-library/cheatsheet.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ test('loads items eventually', async () => {
151151
fireEvent.click(getByText(node, 'Load'))
152152

153153
// Wait for page to update with query text
154-
const items = await findByText(node, /Item #[0-9]: /)
154+
const items = await findAllByText(node, /Item #[0-9]: /)
155155
expect(items).toHaveLength(10)
156156
})
157157
```

0 commit comments

Comments
 (0)