
Vitest
Built for Vite projects, this brings Jest's familiar API with faster execution through native ESM support. You get describe/it blocks, vi.mock for module mocking, and parallel test running out of the box. The skill breaks down into five focused references: config for vitest.config.ts setup, test-api for writing suites and hooks, mocking for vi.fn and spies, utilities for assertions and coverage, and advanced for environments and type testing. If you're already using Vite, this is the natural choice since it shares the same config and transform pipeline. Load references selectively based on your task rather than dumping everything into context.
- skills.sh installs
- 3.2K
- GitHub stars
- 723
- last updated
- Aug 21, 2026
Install
$ npx -y skills add onmax/nuxt-skills --skill vitest --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/onmax/nuxt-skills
- Categories
- Frontend Development, Testing & QA, Documentation, Automation & Workflows
- First seen
- May 16, 2026