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, mock modules, and structure multi-project workspaces 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. - Coverage & Execution: Explains V8 and Istanbul coverage providers, thresholds, sharding for CI, concurrent tests, and test filtering by name, file, or tags. - Use Case: You need to add tests to a React component library. Use this Skill to configure jsdom as the test environment, write component tests with expect assertions, mock API calls with vi.mock, and enforce an 80% coverage threshold in CI. ## Quick Start Use the vitest skill to help me write a test file with mocked API calls and configure coverage thresholds in my vitest.config.ts.