Replies: 1 comment 1 reply
-
Hi @julisch94 That's a good question. Lines 220 to 235 in d5f95cf test-utils/src/utils/stringifyNode.ts Lines 1 to 5 in d5f95cf So maybe outerHTML does not include the shadow DOM elements? I think you can either:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey folks, I'm using a component library that works with shadow DOM elements but when I call
render
in my test case and then print the DOM, I can't see any shadow DOM elements. How can I enable vue test utils to render shadow DOM elements, as well?Output in test:
Output in browser contains shadow DOMs with anchors and svg's.
Beta Was this translation helpful? Give feedback.
All reactions