jest-testing-patterns

Official

Patterns for robust Jest tests.

AuthorTheBushidoCollective
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Writing clear, maintainable Jest tests with mocks, spies, and snapshots improves reliability.

Core Features & Use Cases

  • Unit tests, setup/teardown, and lifecycle patterns
  • Mocks, spies, and asynchronous assertions
  • Snapshot testing and deep equality checks

Quick Start

Write a test suite with describe/it, mock functions, and a snapshot for a component.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-testing-patterns
Download link: https://github.com/TheBushidoCollective/han/archive/main.zip#jest-testing-patterns

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