vitest-testing-patterns

Official

Vitest patterns for unit tests, mocks, and browser mode.

AuthorTheBushidoCollective
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides Vitest testing patterns, including unit tests, mocks, spies, and browser mode testing.

Core Features & Use Cases

  • Unit & Integration Tests: Structured testing approach.
  • Mocks & Spies: Isolation of units under test.
  • Browser Mode: Testing in a real browser-like environment.

Quick Start

Write a simple Vitest unit test with a mock dependency.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-testing-patterns
Download link: https://github.com/TheBushidoCollective/han/archive/main.zip#vitest-testing-patterns

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 223,000+ vetted skills library on demand.