Vitest Next Conventions

Vitest in Next.js 15 App Router — vite.config setup, jsdom vs node environments, testing Server Components/Server Actions, mocking next/navigation/headers/cookies, React Testing Library integration, fixtures, MSW for network, coverage with v8, watch mode, parallelization, CI in GitHub Actions. Use when setting up Vitest, fixing test failures around RSC or async hooks, mocking Next.js APIs, or speeding up the test suite.

PIXARTSeu Updated 12 repo stars
Synapse live demo — session_resume, skill_route, memory_query

File contents

PIXARTSeu/Synapse commit 0108606dc0

Frequently asked questions

npx get-skill add pixartseu/vitest-next-conventions