What problem does it solve? Setting up and maintaining a JavaScript or TypeScript test suite involves many decisions: configuration, environments, mocking strategies, coverage thresholds, and CI sharding. This Skill provides structured, version-accurate Vitest guidance so you write correct tests and configs 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 & Utilities: Module mocking with vi.mock, spies, fake timers, conditional mocking with vi.when, and environment stubbing. - Configuration & Scale: Vite config integration, multi-project workspaces, coverage with V8 or Istanbul, reporters, filtering, and CI sharding with blob report merging. - Use Case: You are migrating a monorepo test suite to Vitest 5. Use this Skill to configure projects per package, set up jsdom environments for DOM tests, and shard runs across CI machines with merged coverage reports. ## Quick Start Use the vitest skill to write a test file with mocked API calls and fake timers for my src/utils/retry.ts module.