Skip to content

Commit 53bafbf

Browse files
committed
docs: fix typos in custom queries section
1 parent 42ff1a2 commit 53bafbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/react-testing-library/setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,15 @@ module.exports = {
148148

149149
> **Note**
150150
>
151-
> Generally you should not need to create custom attributes for
151+
> Generally you should not need to create custom queries for
152152
> react-testing-library. Where you do use it, you should consider whether your
153153
> new queries encourage you to test in a user-centric way, without testing
154154
> implementation details.
155155
156156
You can define your own custom queries as described in the example in the
157157
[Helpers API](/doc/dom-testing-library/api-helpers.md) documentation, or via the
158158
[`buildQueries`](/doc/dom-testing-library/api-helpers#buildQueries) helper. Then
159-
you can use the in any render call using the `queries` option. To make the
159+
you can use these in any render call using the `queries` option. To make the
160160
custom queries available globally, you can add them to your custom render method
161161
as shown below.
162162

0 commit comments

Comments
 (0)