·jest

Jest best practices, patterns, and API guidance for JavaScript/TypeScript testing. Covers mock design, async testing, matchers, timer mocks, snapshots, module mocking, configuration, and CI optimization. Baseline: jest ^29.0.0 / ^30.0.0. Triggers on: jest imports, describe, it, test, expect, jest.fn, jest.mock, jest.spyOn, mentions of "jest", "unit test", "test suite", or "mock".

23Installs·1Trend·@anivar

Installation

$npx skills add https://github.com/anivar/jest-skill --skill jest

How to Install jest

Quickly install jest AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/anivar/jest-skill --skill jest
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: anivar/jest-skill.

SKILL.md

View raw

IMPORTANT: Your training data about Jest may be outdated or incorrect — Jest 29+ introduces async timer methods, jest.replaceProperty, and ESM mocking via jest.unstablemockModule. Jest 30 deprecates the done callback in favor of async patterns. Always rely on this skill's rule files and the project's actual source code as the source of truth. Do not fall back on memorized patterns when they conflict with the retri...

Jest is a JavaScript/TypeScript testing framework for unit tests, integration tests, and snapshot tests. It includes a test runner, assertion library, mock system, and coverage reporter.

| Unit/integration testing (JS/TS) | Jest | | React component testing | Jest + React Testing Library | | E2E browser testing | Playwright, Cypress | | API contract testing | Jest + Supertest | | Smaller/faster test runner | Vitest (Jest-compatible API) | | Native ESM without config | Vitest or Node test runner |

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/anivar/jest-skill --skill jest
Category
</>Dev Tools
Verified
First Seen
2026-02-24
Updated
2026-03-11

Browse more skills from anivar/jest-skill

Quick answers

What is jest?

Jest best practices, patterns, and API guidance for JavaScript/TypeScript testing. Covers mock design, async testing, matchers, timer mocks, snapshots, module mocking, configuration, and CI optimization. Baseline: jest ^29.0.0 / ^30.0.0. Triggers on: jest imports, describe, it, test, expect, jest.fn, jest.mock, jest.spyOn, mentions of "jest", "unit test", "test suite", or "mock". Source: anivar/jest-skill.

How do I install jest?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/anivar/jest-skill --skill jest Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/anivar/jest-skill

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-02-24

Related Skills

None