dev-testing-frontend
Installation
SKILL.md
Frontend Testing
Stack
Astro 7 + Svelte 5 (runes only) + Tailwind v4 + Capsem-owned semantic CSS + LayerChart v2.
Running tests
cd web/app
pnpm run check # astro check + svelte-check (type errors)
npx vitest run --coverage # Unit tests with coverage
pnpm run build # Production build (catches bundling issues dev misses)
All three run as part of just test. The production build is important -- Tailwind v4's Vite plugin can miss client:only components in the SSR module graph, so @source directives in global.css must explicitly include .svelte and .ts files.