Build, review, debug, configure, migrate, teach, or plan Vitest testing with current docs and a full usage guide.
Use for vitest, vitest.config, defineConfig from vitest/config, describe/it/test/expect, vi mocks, snapshots, coverage (@vitest/coverage-v8), browser mode (@vitest/browser-playwright), projects, pools/maxWorkers, reporters, UI, bench, typecheck, and Jest or Vitest 3 to Vitest 4 migration.
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Claude CodeNot declared
CursorNot declared
CodexNot declared
GitHub CopilotNot declared
WindsurfNot declared
Gemini CLINot declared
ClineNot declared
OpenCodeNot declared
Repository health
Stars1
LicenseLICENSE
Default branchmain
Open issues0
Status
Active
Package contents
Files included with this skill beyond the listing page.
skill mdSKILL.md3,792 B
docsSUMMARY.md417 B
History
First seen on skills.sh
First recorded snapshot · 37 installs
SKILL.md
Vitest
Use this skill when work touches Vitest: writing/running tests, config, mocks/snapshots, coverage, browser mode, projects/pools, reporters, or migrating from Jest / Vitest 3.
Workflow
Inspect the local Vitest surface:
- Package versions: vitest and aligned @vitest/ (snapshot 4.1.10). Node ^20 || ^22 || >=24. Vite peer ^6 || ^7 || ^8. - Config: dedicated vitest.config. (overrides vite.config entirely) vs test: {} inside Vite config. - Scripts: prefer vitest run for CI; do not use bun test (Bun’s runner) when the project uses Vitest — use bun run test / bunx vitest. - Environment: node (default) vs jsdom / happy-dom vs Browser Mode projects.
For day-to-day how-to, follow [usage-guide.md](references/usage-guide.md) first.
Refresh docs when versions drift or the task is browser/coverage/migration. Start from [source-map.md](references/source-map.md).