What problem does it solve? Setting up and maintaining a fast, modern JavaScript/TypeScript test suite is difficult when juggling configuration, mocking, coverage, and environments. This Skill provides structured guidance for the Vitest testing framework so you can write tests, mock dependencies, and configure coverage without digging through documentation. ## Core Features & Use Cases - Test Authoring: Covers the test/describe/expect APIs, lifecycle hooks, parameterized tests, and custom fixtures with test.extend. - Mocking & Snapshots: Guides module mocking with vi.mock, spies, fake timers, stubbed globals, and inline or file-based snapshot testing. - Coverage, Filtering & Projects: Explains V8/Istanbul coverage setup, test filtering by name or tags, sharding for CI, and multi-project monorepo configurations. - Use Case: You are migrating a Jest suite to Vitest in a Vite monorepo. Use this Skill to configure jsdom environments per project, mock API modules with vi.mock, and enforce 80% coverage thresholds in CI. ## Quick Start Use the vitest skill to write a test file with mocked API calls and coverage configuration for my Vite project.