Created
March 28, 2020 21:22
-
-
Save paigen11/de10ca7abbfc0ed27a17bd80b3f61105 to your computer and use it in GitHub Desktop.
Example to debug a component in React Testing Library when the built-in debug() function cuts off from rendering everything in the console.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log(prettyDOM(component.container, 99999)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment