You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would be nice to be able to pretty-print the output of html. The API could be:
console.log(wrapper.html({pretty: true}))
I find the html feature is super useful for debugging project that I am new to, or teaching other people about testing. At the moment we import another package to format the HTML, but it might be a nice feature to have in core.
If you think it's not necessary, just close this one off. I'd be happy to make a PR with this feature.
What is expected?
Format nicely
What is actually happening?
Not formatted nicely
The text was updated successfully, but these errors were encountered:
Version
1.0.0-beta.29
Reproduction link
https://github.com/vuejs/test-utils
Steps to reproduce
I think it would be nice to be able to pretty-print the output of
html
. The API could be:I find the
html
feature is super useful for debugging project that I am new to, or teaching other people about testing. At the moment we import another package to format the HTML, but it might be a nice feature to have in core.If you think it's not necessary, just close this one off. I'd be happy to make a PR with this feature.
What is expected?
Format nicely
What is actually happening?
Not formatted nicely
The text was updated successfully, but these errors were encountered: