File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ Configuration options:
21
21
` showOriginalStackTrace ` : By default, ` waitFor ` will ensure that the stack trace
22
22
for errors thrown by Testing Library is cleaned up and shortened so it's easier
23
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
24
+ stack traces are hard to debug). If you want to disable this, then set` showOriginalStackTrace ` to ` false ` . You can also disable this for a specific
26
25
call in the options you pass to ` waitFor ` .
26
+
27
27
` throwSuggestions ` : (experimental) When enabled, if [ better queries] ( https://testing-library.com/docs/guide-which-query ) are available
28
28
the test will fail and provide a suggested query to use instead. Default to ` false ` .
29
29
@@ -32,6 +32,7 @@ To disable a suggestion for a single query just add `{suggest:false}` as an opti
32
32
screen .getByTestId (" foo" , {suggest: false }); // will not throw a suggestion
33
33
```
34
34
35
+
35
36
` testIdAttribute ` : The attribute used by [ ` getByTestId ` ] ( api-queries#bytestid )
36
37
and related queries. Defaults to ` data-testid ` .
37
38
You can’t perform that action at this time.
0 commit comments