
Jest Generator
- 196 repo stars
- Updated July 25, 2026
- secondsky/claude-skills
Generate Jest unit tests for JavaScript/TypeScript modules and React components with mocking and coverage to close test gaps.
About
A skill for generating Jest unit tests for JavaScript and TypeScript, including React components, with mocking and coverage built in. Developers use it to add tests to JS/TS modules and components and to fix missing coverage, improper mocking, or test-structure errors.
- Jest unit-test generation
- JS/TS & React components
- Mocking
- Coverage
Jest Generator by the numbers
- Data as of Jul 28, 2026 (Skillselion catalog sync)
/plugin marketplace add secondsky/claude-skills/plugin install jest-generator@claude-skillsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| repo stars | ★ 196 |
|---|---|
| Last updated | July 25, 2026 |
| Repository | secondsky/claude-skills ↗ |
What it does
Generate Jest unit tests for JavaScript/TypeScript modules and React components with mocking and coverage to close test gaps.
README.md
Jest Generator Skill
Generate Jest-based unit tests for JavaScript/TypeScript code with proper mocking and coverage.
Overview
This skill generates comprehensive Jest test suites following best practices including mocking, describe blocks, setup/teardown, and proper test organization.
When to Use
- Generate Jest tests for JS/TS modules
- Create test files for React components
- Add missing test coverage
- Need Jest-specific patterns (mocks, spies, snapshots)
Features
- Automatic test file structure generation
- Proper mocking patterns for dependencies
- Async testing patterns
- Timer mocking
- React component testing with Testing Library
- Coverage targets (80%+)
Quick Start
# Run tests (prefer bun)
bun test
# With coverage
bun test --coverage
# Watch mode
bun test --watch
Auto-Trigger Keywords
- jest testing
- unit test generation
- javascript testing
- typescript testing
- react component tests
- test coverage
- mock dependencies
Source
Adapted from matteocervelli/llms