vitest-docs

Community

Configure and master Vitest testing.

Authorwenerme
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps users quickly find correct, practical guidance for writing and configuring tests in Vitest, including mocking, coverage, browser/component testing, and Jest migration topics.

Core Features & Use Cases

  • Test API fundamentals: Coverage for core functions like describe, test, expect, vi, and lifecycle hooks (before/after).
  • Mocking & determinism: Guidance for mocking modules/functions/classes, timers/dates, filesystem, globals, and network requests.
  • Advanced testing modes: Snapshot testing, coverage providers (v8/istanbul), browser testing (Playwright/WebDriverIO), and React/Vue/Svelte component testing.
  • Configuration & tooling: Detailed reference for CLI commands, environment selection (node/jsdom/happy-dom/edge-runtime), projects/workspaces, parallelism, reporters, debugging, IDE integration, tags/filtering, and performance/migration tips.

Quick Start

Use the vitest-docs skill when you need to understand how to configure your Vitest test runner for mocking, coverage, or browser/component testing and how to apply the right CLI/config options.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: vitest-docs
Download link: https://github.com/wenerme/ai/archive/main.zip#vitest-docs

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.