We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b04fb9 commit a76dfd8Copy full SHA for a76dfd8
docs/dom-testing-library/api-debugging.mdx
@@ -76,6 +76,8 @@ This function is usually used alongside `console.log` to temporarily print out
76
DOM trees during tests for debugging purposes:
77
78
```javascript
79
+import {prettyDOM } from '@testing-library/dom'
80
+
81
const div = document.createElement('div')
82
div.innerHTML = '<div><h1>Hello World</h1></div>'
83
console.log(prettyDOM(div))
0 commit comments