[Question] Does phl print #shadow-root?
dereklin opened this issue · 4 comments
dereklin commented
I am currently debugging a jest test where I am using phl on a component that renders a web component that uses #shadow-root. I am not seeing any #shadow-root or its children when using phl.
I am wondering if phl will print out #shadow-root like how it is displayed in chrome dev tool. (the web component might not be rendered correctly in the test)
dereklin commented
Looks like it doesn't. I was able to get more output using:
console.log(webComponent.nativeElement.shadowRoot.innerHTML);
kreuzerk commented
Thx a lot for reporting this. Can you try if it works when you enable comments printing?
phl(fixture, true);
pct-cclausen commented
I am also looking for this feature