What problem does it solve? Setting up and maintaining a fast, reliable test suite requires deep knowledge of Vitest's configuration options, APIs, and mocking utilities, which are spread across extensive documentation. This Skill consolidates that knowledge so you can write tests, configure environments, and debug test setups without leaving your workflow. ## Core Features & Use Cases - Test Authoring Guidance: Covers the test/describe/expect APIs, lifecycle hooks, parameterized tests, and custom fixtures via test.extend. - Mocking & Utilities: Explains vi.fn, vi.spyOn, module mocking with vi.mock, fake timers, and stubbed globals or environment variables. - Configuration & Tooling: Details vitest.config.ts setup, coverage with V8 or Istanbul, test environments (node, jsdom, happy-dom), multi-project workspaces, sharding, and CLI filtering. - Use Case: You are migrating a Jest test suite to Vitest and need to configure jsdom for DOM tests, set up coverage thresholds, and convert jest.mock calls to vi.mock with hoisted factories. ## Quick Start Ask the assistant to help you write a Vitest test file with mocked API calls and coverage configuration for your project.