jest-tests
CommunityWrite reliable Jest tests with best practices.
Authoralexei-lexx
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides structured guidance for writing, reviewing, and maintaining Jest tests for TypeScript projects, ensuring consistency and quality across the codebase.
Core Features & Use Cases
- Co-locate tests next to modules (e.g., service-name.ts with service-name.test.ts)
- Follow standardized test structure (describe/it blocks, arrange-act-assert)
- Emphasize testing public APIs and avoiding private internals
- Promote proper mocking and use of test data fakes
Quick Start
Co-locate tests next to modules as service-name.ts and begin writing tests following the outlined structure.
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: jest-tests Download link: https://github.com/alexei-lexx/budget/archive/main.zip#jest-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 471,000+ vetted skills library on demand.