DEV Community

Discussion on: Test Svelte Component Using Vitest & Playwright

Collapse
 
davipon profile image
David Peng

I did encounter the same problem, it turned out that we can't add plugins: [svelte()] under ctViteConfig.
There are some bugs/ conflicts after recent breaking changes of SvelteKit and Vite 3.0.

Collapse
 
slavco86 profile image
SlavCo Zute

Interesting. I don't actually use SvelteKit but just plain Svelte app.
So, have you found the way around the issue or how did you got it to work in your original post?

Thread Thread
 
davipon profile image
David Peng

If you use the playwright-ct.config.ts in my original post, it should work.