domains / families / software-engineering / vitest

vitest

combined

Vitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures. Set up Vitest testing in any project — detects type (Cloudflare Workers, React, Node, library), generates vitest.config.ts, test setup, utilities, and a sample test. Covers mocking patterns, coverage config, workspace setup, Jest migration. Use whenever the user mentions adding tests, setting up Vitest, configuring tests, migrating from Jest, fixing testing infrastructure, or asks 'how do I test this'.

When to use

When not to use

Skill page

Conflict

The copies cover different parts of the Vitest workflow. jezweb/claude-skills is a procedural setup skill that detects project type, installs dependencies, generates vitest.config.ts, and scaffolds test files. antfu/skills and LeoYeAI/openclaw-master-skills are reference catalogs that point to external reference files for API details, mocking, coverage, and workspaces. sickn33/agentic-awesome-skills provides inline patterns for writing tests, mocking, and in-source testing. No single copy contains the full procedure plus the reference material, so crowning one would hide real alternatives.