Used in agent projects
702
5.5% of 12,697 public repos built with AI coding agents
Rank in testing
#4 of 40
by use in those projects
Downloads
46.3M
npm, last 7 days, jest
GitHub stars
45.6K
last push Oct 8, 2026
How Jest is used
Jest is a dependency in 702 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (5.5%), #4 of 40 in testing. The most used alternative there is Vitest. Projects that use it most often also use ESLint (73.8%), Prettier (49.0%), ts-node (33.6%). It is more common in projects set up for Kiro (15.1%) than for GitHub Copilot (5.7%).
Often used with Jest
| ESLint | 73.8% of Jest projects · 1.9× more than average |
|---|---|
| Prettier | 49.0% of Jest projects · 2.8× more than average |
| ts-node | 33.6% of Jest projects · 4.9× more than average |
| Testing Library | 32.8% of Jest projects · 4.5× more than average |
| TypeScript | 84.3% of Jest projects · 1.5× more than average |
| Babel (JavaScript) | 26.2% of Jest projects · 6.9× more than average |
| dotenv | 33.0% of Jest projects · 2.1× more than average |
| React | 52.8% of Jest projects |
By coding agent
| Cursor | 9.7% of projects set up for it |
|---|---|
| Claude Code | 6.5% of projects set up for it |
| GitHub Copilot | 5.7% of projects set up for it |
| Gemini CLI | 9.8% of projects set up for it |
| Devin Desktop | 14.6% of projects set up for it |
| OpenAI Codex | 6.9% of projects set up for it |
| OpenCode | 7.2% of projects set up for it |
| Kiro | 15.1% of projects set up for it |
Share of public repos configured for each agent that list Jest as a dependency.
Install
| Package | npm install jest |
|---|---|
| Packages counted | jest, ts-jest, jest-environment-jsdom, babel-jest, jest-environment-node, jest-expo, jest-util, jest-junit |
| Main stacks | TypeScript / JavaScript (420), Next.js (177), React Native / Expo (58), Rust (16) |
| Example projects | thedaviddias/Front-End-Checklist, Automattic/wp-calypso, sunflower-land/sunflower-land, vega-org/vega-app, ngxtension/ngxtension-platform |
Alternatives to Jest
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Vitest npm Next-generation testing framework powered by Vite with native ESM. |
1,549 (12.2%) | 123M | 17.2K | MIT |
| Playwright (JavaScript) npm Cross-browser automation library for end-to-end testing. |
1,117 (8.8%) | 74.2M | 97.4K | Apache-2.0 |
| Testing Library npm Testing utilities for React encouraging testing user behavior. |
915 (7.2%) | 68.7M | 19.7K | MIT |
| jsdom npm JavaScript implementation of web standards for testing DOM interactions. |
681 (5.4%) | 112M | 21.7K | MIT |
| pytest pypi Simple, powerful Python testing framework with fixtures and plugins. |
330 (2.6%) | 196M | 14.6K | — |
| Chai npm BDD/TDD assertion library for Node.js and browsers with expressive syntax. |
305 (2.4%) | 14M | 8,265 | MIT |
| Mocha npm Feature-rich JavaScript test framework for Node.js and browsers. |
281 (2.2%) | 12.6M | 22.9K | MIT |
| ts-mocha npm Mocha wrapper for running TypeScript tests directly with ts-node without compilation. |
191 (1.5%) | 573K | 196 | MIT |