jest-skill
OfficialMaster Jest for robust JavaScript testing.
AuthorLambdaTest
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides comprehensive guidance and patterns for writing effective unit and integration tests using the Jest framework, ensuring code quality and reliability.
Core Features & Use Cases
- Test Writing: Generate basic, mock-based, and async tests.
- React Component Testing: Utilize Testing Library for user-centric component validation.
- Snapshot Testing: Capture and assert UI states.
- Use Case: You need to write tests for a new React component, including mocking API calls and ensuring correct rendering and user interactions.
Quick Start
Use the jest skill to write a basic unit test for a JavaScript function.
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-skill Download link: https://github.com/LambdaTest/agent-skills/archive/main.zip#jest-skill 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.