File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/react-testing-library Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -148,15 +148,15 @@ module.exports = {
148
148
149
149
> ** Note**
150
150
>
151
- > Generally you should not need to create custom attributes for
151
+ > Generally you should not need to create custom queries for
152
152
> react-testing-library. Where you do use it, you should consider whether your
153
153
> new queries encourage you to test in a user-centric way, without testing
154
154
> implementation details.
155
155
156
156
You can define your own custom queries as described in the example in the
157
157
[ Helpers API] ( /doc/dom-testing-library/api-helpers.md ) documentation, or via the
158
158
[ ` 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
160
160
custom queries available globally, you can add them to your custom render method
161
161
as shown below.
162
162
You can’t perform that action at this time.
0 commit comments