Svelte · Senior · Question 56 of 75
Which approach fits end-to-end testing of a SvelteKit app?
- ✓Correct answer: Playwright against a built app (
vite build+preview), including flows that rely on form actions and SSR - 2Only unit tests of components
- 3Only snapshot tests
Explanation
sv add playwright sets this up. Async server rendering and actions are best verified end to end.