snapshot-test

Community

Generate Jest snapshot tests for UI components.

Authorjieni777
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers avoid regressions by automatically generating Jest snapshot tests for React components, capturing rendered output across states.

Core Features & Use Cases

  • Generates Jest snapshot tests for React components
  • Covers default and edge cases, multiple prop combinations, and async components
  • Suitable for individual components or entire component libraries

Quick Start

Run npx ai-snapshot-test ./src/components/Button.tsx to generate Jest snapshot tests for Button.

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: snapshot-test
Download link: https://github.com/jieni777/opencode-config-backup/archive/main.zip#snapshot-test

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 471,000+ vetted skills library on demand.