bobmatnyc-vitest
Installation
SKILL.md
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