We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b8c4ef commit f6b7376Copy full SHA for f6b7376
docs/react-testing-library/api.md
@@ -173,6 +173,10 @@ debug()
173
// <h1>Hello World</h1>
174
// </div>
175
// you can also pass an element: debug(getByTestId('messages'))
176
+// and you can pass all the same arguemnts to debug as you can
177
+// to prettyDOM:
178
+// const maxLengthToPrint = 10000
179
+// debug(getByTestId('messages'), maxLengthToPrint, {highlight: false})
180
```
181
182
This is a simple wrapper around `prettyDOM` which is also exposed and comes from
0 commit comments