Skip to content

Commit 93a6e42

Browse files
committed
docs: add buildQueries to helpers API docs
1 parent f059027 commit 93a6e42

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/dom-testing-library/api-helpers.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ module.exports = {
5656
> adding `queries` to the options config object. See the render
5757
> [options](/docs/react-testing-library/api#render-options).
5858
59+
## `buildQueries`
60+
61+
The `buildQueries` helper allows you to easily create your custom query with all standard [variants](api-queries.md) of queries in testing-library.
62+
63+
See the 'Customize queries globally with custom render' section of the [custom render guide](/docs/react-testing-library/setup#custom-render) for example usage.
64+
5965
### Using other assertion libraries
6066

6167
If you're not using jest, you may be able to find a similar set of custom

0 commit comments

Comments
 (0)