writing-vitest-tests
CommunityCraft clear Vitest tests with suites and mocks
Authordjankies
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Teaches test structure and patterns for writing Vitest tests.
Core Features & Use Cases
- Test organization: describe/test blocks, lifecycle hooks.
- Mocking: vi.fn(), mocks, and assertions.
- Use Case: structure comprehensive unit tests for a library.
Quick Start
Create a simple test file with describe, test, and mock examples.
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: writing-vitest-tests Download link: https://github.com/djankies/claude-configs/archive/main.zip#writing-vitest-tests Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.