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.

wenerme a4fc2ff 228 files · 1.4 MB Updated

File contents

wenerme/ai/tree/main/skills/vitest-docs commit a4fc2ff5c1

Frequently asked questions

npx skillmds@latest add wenerme/vitest-docs