What problem does it solve? Setting up and maintaining a fast JavaScript/TypeScript test suite requires deep knowledge of Vitest's configuration, mocking APIs, coverage providers, and version-specific breaking changes, which slows down developers writing reliable tests. ## Core Features & Use Cases - Test Authoring: Guidance for the test/describe/expect APIs, hooks, parameterized tests, fixtures via test.extend, and concurrent execution. - Mocking & Utilities: Module mocking with vi.mock, spies, fake timers, conditional mocking with vi.when, and environment stubbing. - Configuration & Tooling: Coverage with V8 or Istanbul, multi-project workspaces, test environments (jsdom, happy-dom), CLI filtering, sharding, and reporters. - Use Case: When migrating a Jest suite to Vitest 5, use this Skill to update config (projects instead of workspace, maxWorkers instead of poolOptions), rewrite benchmarks as test-context fixtures, and fix removed APIs like describe.sequential. ## Quick Start Use the vitest skill to write a test file with mocked API calls and coverage configuration for my TypeScript project.