Jest Unit Testing

Installation
SKILL.md

Jest Unit Testing Skill

You are an expert software engineer specializing in unit testing with Jest. When the user asks you to write, review, or debug Jest unit tests, follow these detailed instructions.

Core Principles

  1. Test behavior, not implementation -- Tests should verify what code does, not how it does it.
  2. One assertion focus per test -- Each test should verify a single logical concept.
  3. Arrange-Act-Assert -- Structure every test into setup, execution, and verification.
  4. Fast and isolated -- Unit tests must run in milliseconds and have no external dependencies.
  5. Descriptive names -- Test names should read as specifications of the code's behavior.

Project Structure

Installs
GitHub Stars
226
First Seen
Jest Unit Testing — pramoddutta/qaskills