jest-knowledge-patch

jest-knowledge-patch is a skill for Claude Code from Nevaberry/nevaberry-plugins. It costs 8 tokens per session (2,580 once invoked), scanned A, original, MIT.

A reference guide for Jest, a JavaScript testing tool, covering test discovery, configuration, modules, mocks, snapshots, timers, environments, and reports. It includes behavior and migration details for different Jest versions.

In plain words
What is it for?
Use it to upgrade Jest, configure test projects, troubleshoot ESM or CommonJS loading, write mocks and snapshots, manage fake timers and retries, and process test or coverage reports.
Why use it?
It helps resolve tests that stop being found, loaded, mocked, or reported correctly after configuration or dependency changes. It also clarifies differences between JavaScript module systems and asynchronous test behavior.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the knowledge-patch plugin — 197 skills, 1 hook shipped together

Good fit Use it to upgrade Jest, configure test projects, troubleshoot ESM or CommonJS loading, write mocks and snapshots, manage fake timers and retries, and process test or coverage reports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nevaberry/nevaberry-plugins/jest-knowledge-patch
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Nevaberry/nevaberry-plugins --skill jest-knowledge-patch
Clone the repo
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins

Made for: Claude Code.

Or install knowledge-patch, the plugin that ships this one along with the rest of its 197 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for jest-knowledge-patch

README.md
[![agentmods](https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/jest-knowledge-patch/github.svg)](https://agentmods.dev/skills/nevaberry/nevaberry-plugins/jest-knowledge-patch)
Your own site
<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/jest-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/jest-knowledge-patch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for jest-knowledge-patch

Your own site · 80×15
<a href="https://agentmods.dev/skills/nevaberry/nevaberry-plugins/jest-knowledge-patch"><img src="https://agentmods.dev/badge/skills/nevaberry/nevaberry-plugins/jest-knowledge-patch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,580 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00008 $0.02580
Opus 5.5 $0.00003 $0.01032
Sonnet 5.5 $0.00002 $0.00516
Haiku 4.5 $0.00001 $0.00258

Measured today against content hash 5f456edd2f21, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

jest-knowledge-patch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/knowledge-patch/patches-claude/jest-knowledge-patch/SKILL.md · 230 lines

How it starts

The opening of the file, as written. The whole thing — 230 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Jest compatibility guidance

Load this skill when upgrading Jest or working on configuration, test discovery, module loading, mocks, snapshots, timers, environments, reporters, or integrations. Use the topic references for detailed behavior and version-specific guidance.

Reference index

Reference Topics
Migration and compatibility Node support, dependency requirements, package exports, removed APIs, jsdom, glob matching
Configuration and projects Config files and types, project settings, worker lifecycle, custom runners
CLI and discovery Flag values, path patterns, filters, discovery, collection, failed files, version reporting
Modules and transforms Native ESM, CommonJS interoperability, resolution, module identity, ESM mocks, sandbox APIs, TypeScript
Matchers, mocks, and snapshots Assertion behavior, matcher and mock types, argument-based mocks, test titles, snapshot serialization
Timers, retries, and lifecycle Promise rejections, async setup, global cleanup, leak detection, fake timers, Temporal, group retries
Reporting and integrations Reporter results, structured errors, coverage, CLI parsing, sequencers, runtime construction, source maps

Breaking changes and deprecations

Runtime and package requirements

Jest 30 drops Node.js 19 and 21 support. Update CI jobs and local environments that still use either release before upgrading. Both babel-jest and babel-preset-jest require @babel/core in the ^7.11 range.

Jest packages expose ESM entry points through exports. Migrate private imports such as jest-runner/build/testWorker to documented package exports: bundling removed internal file paths. The jest-repl package was removed and deprecated in 30.0.1.

Read the full file on GitHub · 230 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 230 lines · 8 tokens per session scan A 5f456edd2f21

Subscribe to this mod's changes

jest-knowledge-patch is a skill published in the GitHub repository Nevaberry/nevaberry-plugins (25 stars, last pushed yesterday), licensed MIT. It adds 8 tokens to every session and 2,580 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.

Related

jest-knowledge-patch compared with skills from other repositories

jest-knowledge-patch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
jest-knowledge-patchNevaberry/nevaberry-pluginsSkill25yesterdayMITA8Claude Code
rust-network-modulefakoli/fakoli-pluginsSkill43d agoMITA43Claude Code, Codex
api-canvascyanheads/obsidian-mcp-serverSkill72221d agoApache-2.0A85Claude Code
ai-ml-developmenttravisjneuman/.claudeSkill115todayMITA43Claude Code
golang-benchmarkseaworld008/Commonly-used-high-value-skillsSkill752d agoMITA20Claude Code, Codex
ts-reviewliuyanghejerry/ClausuraSkill2055d agoMITA26Claude Code, Codex
react-frontendiliaal/whetstoneSkill37todayMITA57Claude Code, Codex