Skip to content

Commit bcb15e0

Browse files
committed
docs: add docs about defaultIgnore config
1 parent 8154aad commit bcb15e0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ with a second argument e.g.
8080
The default value for the `hidden` option used by
8181
[`getByRole`](queries/byrole.mdx). Defaults to `false`.
8282

83+
### `defaultIgnore`
84+
85+
The default value for the [`ignore` option](queries/bytext.mdx#ignore) used by
86+
[`getByText`](queries/bytext.mdx). Defaults to `script, style`.
87+
8388
### `showOriginalStackTrace`
8489

8590
By default, `waitFor` will ensure that the stack trace for errors thrown by

0 commit comments

Comments
 (0)