vitest - Vitest testing framework conventions
Provides Vitest testing framework conventions and practices for writing, configuring, mocking, debugging, snapshots, coverage, and migration.
Tags
Updated: 2026-06-15Capabilities
Typical Inputs
Typical Outputs
What this skill does
- write tests
- configure vitest
- mock modules
- debug test failures
- create snapshots
- measure coverage
- migrate from jest
Inputs
- test file
- vitest.config.ts
- source code
Outputs
- test file
- test results
- coverage report
- snapshot file
Requirements
- Node.js or Bun runtime
- TypeScript support
