Skip to content

Commit 81c4558

Browse files
authored
Update api.md
1 parent 21c7ace commit 81c4558

File tree

1 file changed

+4
-0
lines changed
  • docs/react-testing-library

1 file changed

+4
-0
lines changed

docs/react-testing-library/api.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ renders its HTML directly in the body.
160160

161161
### `debug`
162162

163+
> NOTE: It's recommended to use
164+
> [`screen.debug`](https://testing-library.com/docs/dom-testing-library/api-queries#screendebug)
165+
> instead.
166+
163167
This method is a shortcut for `console.log(prettyDOM(baseElement))`.
164168

165169
```jsx

0 commit comments

Comments
 (0)