Vitest-native TypeScript test framework with Jest-compatible APIs, mocking, and React component testing.
- skills.sh installs
- 951
- GitHub stars
- 80
- last updated
- Aug 21, 2026
What it does
- Covers test configuration, TypeScript type assertions, module and method mocking, fake timers, and React Testing Library integration
- Includes setup for
vitest.config.ts,tsconfig.jsonglobals, package.json scripts such asvitest runandvitest --coverage, and jsdom environments - Provides v8 coverage and UI mode, with Jest-compatible migration as a stated benefit
- Designed for TypeScript and Vite-based projects, including React and Vue component testing
Install
$ npx -y skills add bobmatnyc/claude-mpm-skills --skill vitest -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Vitest - Modern TypeScript Testing
Overview
Vitest is a next-generation test framework powered by Vite, designed for modern TypeScript/JavaScript projects. It provides blazing-fast test execution through HMR-based test running, native ESM support, and first-class TypeScript integration.
Key Features:
- β‘ Vite-native: Instant HMR-based test execution (10-100x faster than Jest)
- π― TypeScript-first: Built-in TypeScript support, no configuration needed
- π ESM-native: Native ES modules, async/await, top-level await
- π§ͺ Jest-compatible: Compatible API for easy migration
- πΈ Snapshot testing: Built-in snapshot support
- π¨ Component testing: React Testing Library, Vue Test Utils integration
- π Coverage: Built-in v8/c8 coverage (faster than Istanbul)
- π UI mode: Beautiful web UI for test debugging
Installation:
npm install -D vitest
# TypeScript types (usually auto-detected)
npm install -D @vitest/ui # Optional: UI mode
Basic Setup
1. Configure Vitest
vitest.config.ts:
import { defineConfig } from 'vitest/config';
Details
- Repository
- github.com/bobmatnyc/claude-mpm-skills
- Categories
- Testing & QA, Frontend & UI Code
- First seen
- May 16, 2026
More from bobmatnyc/claude-mpm-skills
All 154- Daisyui924
- Zod909
- Sqlalchemy Orm873
- Github Actions780
- Nodejs Backend Typescript745
- Cypress672
- Session Compression672
- Opentelemetry658
- Hono Cloudflare650
- Wordpress Security Validation632
- Xlsx607
- Tanstack Query603
- Fastify590
- Api Design Patterns587
- Skill Creator577
- Git Workflow576
- Express Production527
- Golang Grpc525
- Hono Core511
- Axum510
- Zustand505
- Asyncio501
- Typescript Core494
- Bug Fix490
Similar to Vitest
More Testing & QA
jest-typescriptSkillbobmatnyc/claude-mpm-skills354 installsJest testing setup for TypeScript projects with React Testing Library integration and a mature ecosystem.
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.
jutsu-vitestPluginTheBushidoCollective/han201 starsComprehensive Vitest testing framework skills for modern Vite-powered JavaScript and TypeScript projects.
jest-generatorSkillsecondsky/claude-skills395 installsGenerates Jest unit tests for JavaScript and TypeScript with mocking, async handling, and React component coverage.
