jestjs/jest

GitHub
https://github.com/jestjs/jest

Delightful JavaScript Testing.

  • easy
  • expectation
  • facebook
  • immersive
  • javascript
  • painless
  • painless-javascript-testing
  • snapshot
  • testing
Stars:
45.5k
Language:
TypeScript
Default branch:
main
Last scored:
Overall

At a glance

Rank
#157 of 401
Top 39% · #45 of 82 TypeScript repos
Checks passed
7 of 17
Full list below
Best set up for
Claude Code
Score 76.2
Needs most work for
OpenHands
Biggest fix: .openhands/setup.sh (+10.0 pts)

What it has

What it's missing

What to fix first

Pick an AI agent

Showing fixes for Claude Code

  1. 1
    AGENTS.md / CLAUDE.md
    Add an AGENTS.md covering project goals, layout, setup commands, and conventions. Aim for 800+ chars of real guidance (not boilerplate).
    +6.6 pts
  2. 2
    Pre-commit / git hooks
    Set up pre-commit (.pre-commit-config.yaml), husky, or lefthook to run format+lint on every commit.
    +5.3 pts
  3. 3
    Reproducible dev env
    Add a Makefile or devcontainer or Dockerfile so the agent can set up the project in one command.
    +4.7 pts

Score for each AI agent

Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →

Claude Code
#162 of 401
76.2
  • ~AGENTS.md / CLAUDE.md
  • ~Test suite
  • ~Reproducible dev env
Codex
#157 of 401
74.4
  • ~AGENTS.md / CLAUDE.md
  • ✓README
  • ~Test suite
Kimi Code CLI
#165 of 401
72.7
  • ~AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Dependency manifest
Pi
#160 of 401
72.5
  • ~AGENTS.md / CLAUDE.md
  • ~Test suite
  • ✓Linter / formatter config
Devin
#181 of 401
70.6
  • ~Reproducible dev env
  • ✓Dependency manifest
  • ~Test suite
Aider
#155 of 401
69.7
  • ✗.aider.conf.yml
  • ✓Linter / formatter config
  • ~Test suite
Cursor
#140 of 401
68.9
  • ✗Cursor rules (.cursor/rules)
  • ✓README
  • ✓Type configuration
Gemini CLI
#148 of 401
67.9
  • ✗GEMINI.md
  • ✓README
  • ~Test suite
OpenHands
#174 of 401
67.3
  • ✓CI configuration
  • ✓Dependency manifest
  • ~Reproducible dev env

Does jestjs/jest have agent instructions?

An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.

AGENTS.md / CLAUDE.md
CLAUDE.md (new tab) · 45 characters · short
Agent-specific files
None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
Repos that have one
62 of 82 TypeScript repos · 221 of 401 repos on the leaderboard · See examples →

All 17 checks · 7 passed

No .agents/skills/<name>/SKILL.md
File exists (45 characters) — thin
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
CI configuration· 100% pass
11 GitHub Actions workflows
CONTRIBUTING guide· 100% pass
Guide present
No .cursor/rules/*.mdc or .cursorrules
Manifest present
package.json has 38 scripts
GEMINI.md· 0% pass
No GEMINI.md at repo root
License file· 100% pass
License present
No .openhands/setup.sh
No pre-commit / husky / lefthook found
README· 100% pass
README detailed (12,771 characters)
Manageable size· 50% pass
3429 files — large
Test suite· 70% pass
Test files detected (benchmarks/test-file-overhead/0.test.js)
Type configuration· 100% pass
Type config present

How jestjs/jest compares

vs leaderboard average
4.3 pts above
Average 66.8
vs TypeScript average
0.1 pts below
Average 71.2
Stars among TypeScript repos
#39 of 82

Missing here, and how many repos have it

  • Pre-commit / git hooks · passed by 29% of leaderboard repos, 48% of TypeScript repos
  • Skills (.agents/skills) · passed by 17% of leaderboard repos, 30% of TypeScript repos
  • Cursor rules (.cursor/rules) · passed by 4% of leaderboard repos, 13% of TypeScript repos

One fix for the most agents: AGENTS.md / CLAUDE.md would raise the score for all 9 agents, by up to 6.7 points.

Similar repos

Same language and host as this repo, closest in overall score.

All TypeScript repos →

Same topics, any language

Repos tagged with the same GitHub topics, most shared first.

Add a badge to your README

Paste this at the top of the README. It shows the score, and links back to this page.

Agent friendly score for github/jestjs/jest
[![Agent Friendly](https://agentfriendlycode.com/api/badge/github/jestjs/jest.svg)](https://agentfriendlycode.com/repo/github/jestjs/jest)

Check the score on every pull request

A GitHub Action posts one comment per pull request with how the score changed and why.