with one click
vitest-docs
// Vitest documentation — next-generation testing framework powered by Vite. Covers test API (describe, test, expect, vi, hooks), mocking (modules, functions, classes, timers, dates, file system, globals, network requests), snapshot testing, coverage (v8/istanbul), browser testing (Playwright/WebDriverIO, component testing for React/Vue/Svelte, visual regression, trace view), configuration reference (120+ options), CLI commands, environments (node/jsdom/happy-dom/edge-runtime), filtering/tags, projects/workspaces, parallelism, reporters, debugging, IDE integration, type testing, in-source testing, migration from Jest, and performance profiling. USE THIS SKILL WHEN the user asks about Vitest configuration, test writing, mocking, coverage, browser testing, or migration from Jest.