Skip to main content
skill CX Codex

jest-testing — Claude Code skill for Jest

This skill guides Jest testing for Node.js, from unit checks to API tests with Supertest. Use it when you need examples for mocks, coverage reports, or CI runs.

LicenseRef-Proprietary 121 installs ★ 2 updated 2026-01-07

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add pluginagentmarketplace/custom-plugin-nodejs --skill jest-testing -a claude-code
Open on GitHub

What jest-testing does

The skill covers Jest test structure, synchronous and asynchronous code, module and function mocks, fake timers, and test lifecycle hooks. Its Supertest examples exercise API requests, including successful responses and error cases.

It also walks through Jest settings in package.json, coverage reports, and running tests in GitHub Actions. The examples use npm test and npm test -- --coverage. API test examples depend on Supertest, and the skill’s setup calls for installing jest and supertest as development dependencies. Without those packages, the API testing examples will not run.

What it helps with

  • write unit tests for Node.js functions
  • check async code and error handling
  • mock a module or function in a test
  • exercise an API with Supertest
  • generate a code coverage report

Example prompts for the agent

  • Help me write Jest tests for a user service, including the duplicate-email error case.
  • Create Supertest API tests for the route that creates a user.
  • Set up Jest tests with a coverage report in GitHub Actions.

How to install jest-testing

1Skills CLI (Vercel)

npx skills add pluginagentmarketplace/custom-plugin-nodejs --skill jest-testing -a claude-code

2Manually: put the files in place

~/.claude/skills/jest-testing/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/jest-testing/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about jest-testing

How do I install jest-testing in Claude Code?

Run npx skills add pluginagentmarketplace/custom-plugin-nodejs --skill jest-testing -a claude-code. The skill file is installed at ~/.claude/skills/jest-testing/SKILL.md.

What does the jest-testing skill do?

It helps create Jest tests for Node.js applications, including mocks and API checks with Supertest. It also covers coverage reports and CI test runs.

What is needed for API tests with jest-testing?

The API testing examples use Supertest. Install jest and supertest as development dependencies.

Similar skills

All skills for Testing and QA →

From the same set5

Project sponsors

Companies that keep this analytics open