
Vitest
Comprehensive Vitest reference covering test APIs, mocking, coverage, and workspace projects for Vite-based codebases.
- skills.sh installs
- 3.3K
- GitHub stars
- 730
- last updated
- Aug 21, 2026
What it does
- Covers configuration, CLI, describe/it/expect APIs, hooks, snapshots, and benchmarking across 19 reference topics
- Includes mocking via
viutilities, coverage through V8 or Istanbul providers, and test filtering by name, file pattern, and tags - Documents environment setup for node, jsdom, and happy-dom, plus type-level testing with
expectTypeOfandassertType - Designed for Vite projects that want Jest-compatible tests with native ESM, TypeScript, and JSX support
Install
$ npx -y skills add onmax/nuxt-skills --skill vitest -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Vitest is a next-generation testing framework powered by Vite. It provides a Jest-compatible API with native ESM, TypeScript, and JSX support out of the box. Vitest shares the same config, transformers, resolvers, and plugins with your Vite app.
Key Features:
- Vite-native: Uses Vite's transformation pipeline for fast HMR-like test updates
- Jest-compatible: Drop-in replacement for most Jest test suites
- Smart watch mode: Only reruns affected tests based on module graph
- Native ESM, TypeScript, JSX support without configuration
- Multi-threaded workers for parallel test execution
- Built-in coverage via V8 or Istanbul
- Snapshot testing, mocking, and spy utilities
The skill is based on Vitest 5.1.0-beta.1, generated at 2026-10-23.
Core
Details
- Repository
- github.com/onmax/nuxt-skills
- Categories
- Testing & QA, Frontend & UI Code
- First seen
- May 16, 2026
More from onmax/nuxt-skills
All 12Similar to Vitest
More Testing & QA
javascript-testing-patternsSkillwshobson/agents21.4K installsComprehensive testing guide covering Jest and Vitest setup, unit, async, and mocking patterns for JavaScript and TypeScript.
javascript-typescript-jestSkillgithub/awesome-copilot14.6K installsBest practices for Jest tests in JavaScript and TypeScript covering structure, mocking, async code, and React.
vue-testing-best-practicesSkillantfu/skills17.2K installsTesting guide for Vue.js components covering Vitest, Vue Test Utils, mocking, and Playwright E2E tests.
jutsu-vitestPluginTheBushidoCollective/han201 starsComprehensive Vitest testing framework skills for modern Vite-powered JavaScript and TypeScript projects.
jest-typescriptSkillbobmatnyc/claude-mpm-skills354 installsJest testing setup for TypeScript projects with React Testing Library integration and a mature ecosystem.