Closed
Description
Is it possible/a good idea for shallow()
output to included the component names?
Right now shallow(component).html()
gives me:
<div data-v-1d62245a="" id="app"><!----> <!----></div>
It would be great if included the name of the component, or similar. For example:
<div data-v-1d62245a="" id="app"><!--Login--> <!--SignUp--></div>
This would me a I could make basic assertions about what components would have been included, based on conditional logic of the component under test.
Let me know if the current behaviour is a deliberate design decision, or if you're interested in a PR.