Skip to content

Commit b3e0db7

Browse files
Update docs/dom-testing-library/api-configuration.mdx
Co-authored-by: Tim Deschryver <[email protected]>
1 parent 3b58ecd commit b3e0db7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/dom-testing-library/api-configuration.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ TestingLibraryElementError: A better query is available, try this:
143143
getByRole('paragraph')
144144
```
145145

146-
However, there is no direct way to query paragraphs using an object as the
147-
second parameter, such as in
146+
However, there is no direct way to query paragraphs using the config object parameter, such as in
148147
`getByRole('paragraph', { name: 'Hello World' })`.
149148

150149
To address this issue, you can leverage a custom function to validate the

0 commit comments

Comments
 (0)