New advertisers: 50% off your first month with code FIRSTMONTHSee slots

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
View on GitHub

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.json globals, package.json scripts such as vitest run and vitest --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 -y

Installs 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

Similar to Vitest

More Testing & QA