Skip to content

Commit fc2c2ea

Browse files
authored
fixed newline issue on config page (#481)
1 parent 9319ccc commit fc2c2ea

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Configuration options:
2121
`showOriginalStackTrace`: By default, `waitFor` will ensure that the stack trace
2222
for errors thrown by Testing Library is cleaned up and shortened so it's easier
2323
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
2625
call in the options you pass to `waitFor`.
26+
2727
`throwSuggestions`: (experimental) When enabled, if [better queries](https://testing-library.com/docs/guide-which-query) are available
2828
the test will fail and provide a suggested query to use instead. Default to `false`.
2929

@@ -32,6 +32,7 @@ To disable a suggestion for a single query just add `{suggest:false}` as an opti
3232
screen.getByTestId("foo", {suggest:false}); // will not throw a suggestion
3333
```
3434

35+
3536
`testIdAttribute`: The attribute used by [`getByTestId`](api-queries#bytestid)
3637
and related queries. Defaults to `data-testid`.
3738

0 commit comments

Comments
 (0)