Testing Library DOM debug limit
The debug limit is the max length of characters that comes up when calling screen.debug()
See screen.debug()
The default max length is 7000 characters, but you can set one with DEBUG_PRINT_LIMIT
.
shell
DEBUG_PRINT_LIMIT=20000 npm run test ...
See prettyDOM
source