testing-patterns-vitest
CommunityVitest testing patterns for reliable tests.
Authorj0KZ
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides comprehensive Vitest testing conventions and patterns to standardize test structure, improve reliability, and speed up test creation across the monorepo.
Core Features & Use Cases
- Test Organization: Structure tests by feature/package for clarity.
- Assertion Patterns: Preset assertion styles for common return types.
- Mocking Strategies: Guidance for mocks and spies to isolate units.
- Coverage Guidelines: Target 75%+ coverage for critical packages.
Quick Start
Use this Skill to standardize testing in your project and quickly generate patterns for a new test file. Try: "Set up Vitest patterns for analyzer.ts".
Dependency Matrix
Required Modules
None requiredComponents
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: testing-patterns-vitest Download link: https://github.com/j0KZ/mcp-agents/archive/main.zip#testing-patterns-vitest Please download this .zip file, extract it, and install it in the .claude/skills/ directory.