af-jest-unit-tests

Write or debug Jest unit tests for pure functions, validation logic, or business rules. Use when creating test files, debugging failing unit tests, setting up Jest configuration, or following TDD Red-

SKILL.md

GitHub

Jest Unit Tests

What to read

TDD workflow (Red → Green → Refactor): → testing-guide.md#tdd-workflow

Jest setup, test structure, mocking, and fixtures: → testing-guide.md#unit-testing-with-jest

Test best practices (naming, AAA pattern, independence): → testing-guide.md#best-practices

Running tests and CI/CD integration: → testing-guide.md#running-tests

For comprehensive testing rules and pitfalls: → af-testing-expertise/SKILL.md