File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,13 @@ Configuration options:
18
18
` defaultHidden ` : The default value for the ` hidden ` option used by
19
19
[ ` getByRole ` ] ( api-queries#byrole ) . Defaults to ` false ` .
20
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
+
21
28
` testIdAttribute ` : The attribute used by [ ` getByTestId ` ] ( api-queries#bytestid )
22
29
and related queries. Defaults to ` data-testid ` .
23
30
You can’t perform that action at this time.
0 commit comments