setup-vitest
Testing88 downloads · by community
Bootstrap Vitest for fast unit and integration testing in Vite, Next.js, and Node projects
Install
npx @claudeskill/cli install setup-vitestWhat this skill does
Bootstraps Vitest for fast unit and integration testing. Generates a vitest.config.ts with coverage, JSDOM, and path-alias support, adds a sample test file, and wires up test, watch, and coverage scripts. Detects Vite, Next.js, and Node projects and applies the right defaults for each.
Use cases
- Replacing Jest with a faster test runner
- Adding tests to a Vite or Next.js project
- Setting up code coverage reporting
- Running tests in watch mode during development