jest-testing

Installation
SKILL.md

JavaScript Testing Standards

Unit testing standards for JavaScript projects using Jest, covering test structure, DOM interaction, web component testing, mocking, async patterns, and coverage.

Enforcement

  • Prohibited actions: Do not generate tests that depend on implementation internals; do not use arbitrary setTimeout waits in tests
  • Constraints: Tests must follow AAA (Arrange-Act-Assert) pattern; each test verifies one behavior

Prerequisites

  • Jest 29+
  • jsdom test environment (for DOM/component testing)
  • @testing-library/jest-dom (recommended for DOM assertions)

Workflow

Step 1: Load Test Fundamentals

Installs
1
GitHub Stars
5
First Seen
Jul 11, 2026
jest-testing — cuioss/plan-marshall