lwc-test icon indicating copy to clipboard operation
lwc-test copied to clipboard

tagName of element created by `lwc:component` is hard-coded to x-test

Open gaurav-rk9 opened this issue 5 months ago • 1 comments

tagName of element created by lwc:component should be computed based on the component name. Instead it seems to be hard-coded to x-test

for an example, see https://stackblitz.com/edit/salesforce-lwc-zoz2xspw?file=src%2Fmodules%2Fy%2Fapp%2F__tests__%2Fapp.spec.js and run npm run test:unit

gaurav-rk9 avatar Jul 29 '25 13:07 gaurav-rk9

I think this was by design, but @jmsjtu can clarify

ekashida avatar Jul 31 '25 17:07 ekashida