What problem does it solve? Setting up and maintaining a fast, Vite-native test suite requires knowing 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 coverage, and debug test setups without leaving your workflow. ## Core Features & Use Cases - Test Authoring: Covers the test/describe/expect APIs, lifecycle hooks, parameterized tests with test.each and test.for, and custom fixtures via test.extend. - Mocking & Utilities: Guides module mocking with vi.mock, spying with vi.spyOn, fake timers, date mocking, and environment variable stubbing. - Configuration & Scale: Explains vitest.config.ts setup, coverage with V8 or Istanbul, multi-project workspaces, sharding for CI, and test environments like jsdom and happy-dom. - Use Case: You need to add unit tests to a Vite + TypeScript project with 80% coverage thresholds and mocked API calls. This Skill provides the exact config, mock patterns, and CLI commands to achieve it. ## Quick Start Use the vitest skill to help me write a test suite with mocked API calls and coverage configuration for my Vite project.