# Jest: 6.7 out of 10

Reasonable, with limits. 4th of 10 in [Testing tools](https://elestia.ai/opensource/testing/index.md).

Jest is the long-standing all-in-one JavaScript test runner. It is mature, maintained and still very widely installed. Native ESM support is still experimental, it has no real-browser mode, and the ecosystem is moving to Vitest. It is a reasonable choice for existing CommonJS or React Native codebases, but for most new projects Vitest is the better pick.

**Best for:** Teams with existing Jest suites, CommonJS codebases, or React Native apps where Jest is the built-in default.

## Scores

- **Overall: 6.7** (likely 5.7 to 7.7)
  - Claude Opus 5.5 (6.0): Jest still works well, is maintained and is very widely trusted. For new projects, Vitest does the same job with native ESM, built-in TypeScript, a browser mode and much faster growth, and its API is nearly identical. Jest stays a reasonable pick for React Native and for existing suites, which keeps it out of the 3–4 band.
  - GPT-6.2 Sol (7.4): Jest is a strong choice for Expo, React Native, and teams that can reuse Jest test infrastructure. For most new Vite or native ES module projects, Vitest is easier to adopt, and Playwright is a better fit for dedicated browser testing. Jest's mature APIs and ongoing releases support the score, while slower relative adoption and concentrated release ownership limit confidence over the next two years.
- **Needed by many: 7.8** (likely 6.8 to 8.8)
  - Claude Opus 5.5 (8.0): Most JavaScript and TypeScript projects need a unit test runner, and Jest covers unit and jsdom component tests on Node. It does not do real-browser or end-to-end testing, so it covers only part of the category's job.
  - GPT-6.2 Sol (7.6): Unit and component tests are common across Node services, web apps, and React Native apps. Jest covers all three, and 74% of 2025 State of JavaScript respondents who answered the Jest question had used it. Its Node-based runner needs a separate integration for real browsers, and the survey only approximates demand across all developers.
- **Helps a lot: 7.1** (likely 6.1 to 8.1)
  - Claude Opus 5.5 (6.5): Jest is feature-complete and mature: mocking, snapshots, coverage and sharding all work, and Jest 30 improved speed and memory. ESM is still experimental, TypeScript needs a transform, and there is no browser mode. Vitest does the same job with a near-identical API and fewer workarounds.
  - GPT-6.2 Sol (7.7): Jest 30.5.2 combines mature mocks, readable assertion failures, and coverage with a new TypeScript type-stripping fallback. Its documented APIs give coding agents clear examples for routine tests, while native ES module mocks can require different calls and import order. Vitest offers a smoother start for Vite and native ES modules. Miro saw lower CI memory use after switching to Vitest, while Ekino initially saw slower runs, so performance depends on the suite and configuration.
- **Holds up over time: 6.4** (likely 5.3 to 7.5)
  - Claude Opus 5.5 (6.0): The project is active: 264 commits and 7 releases in the last year, with a v30.4 runtime rewrite aimed at stable ESM. It sits under the OpenJS Foundation. The core team is small, the maintainers have admitted slower progress, and big projects are moving to Vitest. Peers show far more commit activity.
  - GPT-6.2 Sol (6.8): Jest recorded 264 commits and seven releases in a year, and the September release delivered more work on TypeScript support. OpenJS governance and community funding help, though Jest lists one maintainer responsible for releases and triage. Jest 30 removed old matcher aliases and raised version requirements, and Vitest has a faster development pace. The two-year outlook depends on how broadly release duties are shared and when native ES module support stabilizes.
- **Used widely: 8.3** (likely 7.2 to 9.3)
  - Claude Opus 5.5 (8.0): Use is still huge: 246M downloads in 4 weeks and about 2.1M dependent repos, by far the most in the category. The yearly download ratio of 1.8 is well below the 4.1 median. Vitest grew about 10x and now has nearly three times Jest's downloads, so Jest is losing share among new projects.
  - GPT-6.2 Sol (8.5): Ecosyste.ms found 2.13 million dependent repositories, more than for any listed peer, and Jest has about 45,500 GitHub stars. Four-week npm downloads rose from 137 million to 246 million, but the 1.80× ratio trails the 4.10× catalog median and Vitest's 10.04×. Vitest also drew more Bluesky attention, with 81 repository-link posts to Jest's 16. Existing suites and repeat CI installs make it hard to isolate how often new projects choose Jest.
- **Vouched for: 7.2** (likely 6.2 to 8.2)
  - Claude Opus 5.5 (7.0): Jest has a long production record at Meta and countless companies, and React Native and many older framework templates build on it. Current signals are weakening: State of JS reports falling satisfaction, and large projects such as Gutenberg have moved away.
  - GPT-6.2 Sol (7.4): React Native ships Jest by default, Expo maintains a preset, and Salesforce builds its Lightning component test runner on Jest. State of JavaScript 2025 puts Jest satisfaction at 65%, versus 97% for Vitest. Independent reports show Jest can support large suites, though some teams have moved for faster runs or easier ES module testing. The evidence is strongest for ecosystems with dedicated Jest tooling.
- **Safe: 7.5** (likely 6.3 to 8.7)
  - Claude Opus 5.5 (8.0): There are no OSV advisories, the licence is MIT, and governance is under OpenJS. The package lists only 4 direct dependencies, but it pulls in a large transitive tree, including Babel and jsdom-related packages. The Scorecard data is missing, which keeps the range moderate.
  - GPT-6.2 Sol (7.0): Jest uses the permissive MIT license, OSV lists zero advisories for the top-level package, and the project has a private reporting route with OpenJS escalation. Its four direct dependencies lead to a larger install tree through packages such as @jest/core. The project documents npm publishing through Lerna Lite and assigns release responsibility to one listed maintainer. Missing Scorecard data and unverified npm provenance widen the range.

## Good

- Mocking, fake timers, snapshots and coverage work out of the box from one package.
- Very large ecosystem of presets, matchers and docs, and AI coding agents write correct Jest code reliably.
- Jest 30 brought real speed and memory gains through a new resolver and globals cleanup.
- No known security advisories, an MIT licence, and governance under the OpenJS Foundation.

## Bad

- Native ESM still needs --experimental-vm-modules, and ESM-only dependencies need transform workarounds.
- There is no real-browser mode; DOM tests run in jsdom, unlike Vitest Browser Mode.
- A small core team: maintainers have acknowledged slower progress, and there were three years between major releases.
- TypeScript needs ts-jest, Babel or SWC setup, and in many benchmarks it runs slower than Vitest.

## The numbers

- Downloads, 4 weeks: 246M
- In a year: +80%
- GitHub stars: 45k
- Commits, 12 months: 264
- Last npm release: Sept 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/jestjs/jest
- npm: https://www.npmjs.com/package/jest

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
