testing-library/svelte-testing-library

svelte:options w/ svelte:element results in incorrect nodeName with render

seantimm opened this issue · 2 comments

I'm creating some dynamic SVG content and using svelte:element to output the tags. In order to avoid some rendering issues, I have to specify <svelte:options namespace="svg" />. As soon as I do this, the resultant nodeName I get from a render / query is "svelte:element" rather than "svg". If I remove the <svelte:options> tag, the nodeName is properly returned as "svg".