We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1907b78 commit ea15db8Copy full SHA for ea15db8
docs/dom-testing-library/api-configuration.md
@@ -18,6 +18,13 @@ Configuration options:
18
`defaultHidden`: The default value for the `hidden` option used by
19
[`getByRole`](api-queries#byrole). Defaults to `false`.
20
21
+`showOriginalStackTrace`: By default, `waitFor` will ensure that the stack trace
22
+for errors thrown by Testing Library is cleaned up and shortened so it's easier
23
+for you to identify the part of your code that resulted in the error (async
24
+stack traces are hard to debug). If you want to disable this, then set
25
+`showOriginalStackTrace` to `false`. You can also disable this for a specific
26
+call in the options you pass to `waitFor`.
27
+
28
`testIdAttribute`: The attribute used by [`getByTestId`](api-queries#bytestid)
29
and related queries. Defaults to `data-testid`.
30
0 commit comments