javascript-unit-testing

Community

Master JS unit testing with Jest guidance.

Authorel-feo
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides comprehensive guidance for crafting maintainable JavaScript/TypeScript unit tests using Jest, with patterns for mocks, stubs, DI, async testing, and test quality.

Core Features & Use Cases

  • Clear patterns for AAA testing, mocks, stubs, and dependency injection.
  • Async testing techniques, timers, and test structure best practices.
  • Guidance for test quality, refactoring, and TDD workflows.

Quick Start

Begin by writing small unit tests with the AAA pattern and run tests with npm test or yarn test.

Dependency Matrix

Required Modules

None required

Components

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: javascript-unit-testing
Download link: https://github.com/el-feo/ai-context/archive/main.zip#javascript-unit-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.