What problem does it solve? Setting up and writing tests for TypeScript/JavaScript projects often involves slow tooling, complex configuration, and inconsistent mocking patterns. This Skill provides ready-to-use Vitest knowledge so you can configure, write, run, and measure tests without digging through documentation. ## Core Features & Use Cases - Test Authoring: Covers describe/it structure, parametrized tests with describe.each, and a full assertion reference including promises and exceptions. - Mocking & Timers: Provides patterns for function mocks, module mocking with vi.mock, fake timers, and system time control. - Coverage & Integration Testing: Shows how to generate coverage reports with thresholds and test HTTP APIs using supertest. - Use Case: You just added a new utility module to your TypeScript project. Use this Skill to scaffold a matching test file, mock its external API dependency, and run the suite with coverage thresholds enforced in CI. ## Quick Start Ask the AI to set up Vitest in your project and write unit tests with mocks and coverage for a specified source file.