cui-javascript-unit-testing

Community

Jest unit testing standards

Authorcuioss
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill codifies Jest-based unit testing standards for React/Lit-like components, focusing on AAA patterns, mocks, and 80%+ coverage.

Core Features & Use Cases

  • Jest Configuration: Environment, module mapping, transforms, setup files.
  • Test Structure: Standard directory layout, naming, and setup patterns.
  • Patterns & Mocking: Component testing patterns and mocking strategies.
  • Coverage: 80% minimum coverage across branches, functions, lines, and statements.

Quick Start

Create unit tests following the patterns and run coverage to ensure quality gates are met.

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: cui-javascript-unit-testing
Download link: https://github.com/cuioss/cui-llm-rules/archive/main.zip#cui-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.