This repositiory represents a minimal reproducible example that shows some shortcoming of rendering stencilJs based webcomponents using the @testing-library/svelte library for vitest in Svelte 4 based project.
stencilJs
@testing-library/svelte
vitest
Svelte 4
npx vitest Button.test.ts