Jest
Reasonable, with limits. 4th of 10 testing tools.
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
Overall6.7
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.0, likely 5.0 to 7.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.
- peers Vitest: Vitest gains share fast against Jest's 1.8 ratio
- sitepoint.com/vitest-vs-jest-2026-migration-benchmark: Comparison recommends Vitest for new work and Jest for existing suites
- jestjs.io/blog: Jest 30 improvements, with ESM still in progress
GPT-6.2 Sol: 7.4, likely 6.4 to 8.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.
- docs.expo.dev/develop/unit-testing: Expo's supported unit testing workflow uses Jest.
- docs.nestjs.com/migration-guide: Nest defaults to Vitest for ESM and Jest for CommonJS.
- playwright.dev/docs/browsers: Dedicated runner covers Chromium, Firefox, and WebKit.
- github.com/jestjs/jest/blob/main/GOVERNANCE.md: Release duties sit with one listed maintainer.
- github releasesLastYear, npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo, medianDownloadsRatio: Seven releases and download growth below the catalog median.
Needed by many7.8
How many developers need a tool for this job?
Claude Opus 5.5: 8.0, likely 7.0 to 9.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.
- dependents.repos: 2.1M dependent repos show unit testing is a near-universal need
- Jest scope: Runs on Node with jsdom; no browser mode
GPT-6.2 Sol: 7.6, likely 6.6 to 8.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.
- 2025.stateofjs.com/en-US/libraries: 74.4% of 11,421 respondents had used Jest.
- jestjs.io/docs/configuration: Node and jsdom test environments.
- reactnative.dev/docs/testing-overview: React Native ships a Jest preset.
- jestjs.io/docs/puppeteer: Real-browser tests use a Puppeteer integration.
Helps a lot7.1
How well does it do the job for those who need it?
Claude Opus 5.5: 6.5, likely 5.5 to 7.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.
- jestjs.io/blog: Jest 30 gains in speed and memory; ESM pieces still marked unstable
- make.wordpress.org/core/2026/09/23/gutenbergs-javascript-unit-and-integration-tests-now-use-vitest: Gutenberg hit ESM transform-list pain with Jest
- bsky.app/profile/stevage.bsky.social/post/3ljkd5p2tdc2p: User reports ESM support is still experimental and needs a flag
- sitepoint.com/vitest-vs-jest-2026-migration-benchmark: Independent comparison favours Vitest on speed and ESM
GPT-6.2 Sol: 7.7, likely 6.7 to 8.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.
- jestjs.io: Examples of coverage, mocks, snapshots, and failure output.
- github.com/jestjs/jest/releases/tag/v30.5.2: Adds Node type stripping when no transformer applies.
- jestjs.io/docs/ecmascript-modules: Native ESM requires a flag and has different mocking rules.
- github.com/jestjs/jest/discussions/16424: A user hit the flag requirement in a mixed-module project.
- nothing-else.blog/blog/we-migrated-70000-tests-from-jest-to-vitest-yes-in-2-months: Miro reported 30% lower CI memory use after migration.
- ekino.fr/publications/why-your-vitest-test-suite-is-slow-and-how-to-fix-it: Vitest started slower and improved after tuning.
Holds up over time6.4
Will it still be a good choice in two years?
Claude Opus 5.5: 6.0, likely 5.0 to 7.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.
- github commitsLastYear / releasesLastYear: 264 commits and 7 releases, against Vitest's 1294 commits
- jestjs.io/blog: Team turnover slowed releases; OpenJS governance since 2022
- make.wordpress.org/core/2026/09/23/gutenbergs-javascript-unit-and-integration-tests-now-use-vitest: @wordpress/scripts now defaults to Vitest; Jest gets maintenance support only
GPT-6.2 Sol: 6.8, likely 5.6 to 8.0
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.
- github commitsLastYear, releasesLastYear, latestRelease: 264 commits, seven releases, latest in September 2026.
- peers Vitest commitsLastYear and latestPublishedAt: 1,294 commits and a November release.
- github.com/jestjs/jest/blob/main/GOVERNANCE.md: One listed maintainer owns releases, security fixes, and triage.
- jestjs.io/blog/2022/05/11/jest-joins-openjs: Jest joined OpenJS as an Impact Project.
- opencollective.com/jest: Public funding records show community and company contributions.
- jestjs.io/docs/upgrading-to-jest30: Documents removed aliases and higher version requirements.
- github.com/jestjs/jest/issues/9430: ESM tracking issue describes work toward upstream stabilization.
Used widely8.3
How many use it, and is that growing?
Claude Opus 5.5: 8.0, likely 7.0 to 9.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.
- npm downloadsLast4Weeks vs downloadsSame4WeeksYearAgo: 246M against 137M, a ratio of 1.8 below the 4.1 median
- peers Vitest downloads: 723M, up from 72M a year ago
- dependents.repos: 2.13M repos, the most in the category
- 2025.stateofjs.com/en-US/libraries/testing: Jest still most used, but Vitest is expected to overtake it
GPT-6.2 Sol: 8.5, likely 7.3 to 9.6
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.
- dependents repos and packages, peers dependentRepos: 2.13 million indexed repositories and 241,476 packages.
- github stars, bluesky posts, peers Vitest blueskyPosts: 45,487 stars and 16 Bluesky posts, versus Vitest's 81 posts.
- npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo, medianDownloadsRatio, peers Vitest downloads: Jest 1.80×, catalog 4.10×, Vitest 10.04×.
- 2025.stateofjs.com/en-US/libraries/testing: Jest leads historical usage while Vitest gains ground.
Vouched for7.2
Who stands behind it being good?
Claude Opus 5.5: 7.0, likely 6.0 to 8.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.
- 2025.stateofjs.com/en-US/libraries/testing: Jest's satisfaction ratio is trending down
- make.wordpress.org/core/2026/09/23/gutenbergs-javascript-unit-and-integration-tests-now-use-vitest: A major project migrated off Jest
- React Native default: Jest is the default test runner in React Native templates
GPT-6.2 Sol: 7.4, likely 6.4 to 8.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.
- reactnative.dev/docs/testing-overview: React Native's default template ships Jest.
- docs.expo.dev/develop/unit-testing: Expo maintains jest-expo for unit and snapshot tests.
- github.com/salesforce/sfdx-lwc-jest: Salesforce builds Lightning component test tooling on Jest.
- 2025.stateofjs.com/en-US/libraries: 65% satisfaction for Jest and 97% for Vitest.
- nothing-else.blog/blog/we-migrated-70000-tests-from-jest-to-vitest-yes-in-2-months: Miro reported results from migrating 70,000 tests.
Safe7.5
How safe is it to depend on?
Claude Opus 5.5: 8.0, likely 7.0 to 9.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.
- advisories.total: 0 advisories
- npm dependencies: 4 direct, with a large transitive tree
- scorecard: No Scorecard data
GPT-6.2 Sol: 7.0, likely 5.6 to 8.4
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.
- npm license and dependencies, advisories total, scorecard: MIT, four direct dependencies, zero package advisories, missing Scorecard.
- raw.githubusercontent.com/jestjs/jest/v30.5.2/packages/jest-core/package.json: Core brings in additional Jest packages and third-party dependencies.
- github.com/jestjs/jest/security: Private reporting and escalation through OpenJS.
- github.com/jestjs/jest/blob/main/CONTRIBUTING.md: Documents publishing to npm with Lerna Lite.
- github.com/jestjs/jest/blob/main/GOVERNANCE.md: One listed maintainer is responsible for releases.
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
- npm downloads, 4 weeks
- 246M +80% in a year
- GitHub stars
- 45k
- Commits, 12 months
- 264
- npm version
- 30.5.2 Sept 2026
- Versions, 12 months
- 7
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (jestjs/jest), npm (jest), OSV and the OpenSSF Scorecard.
Testing tools
- 8.9Playwright
- 8.9Vitest
- 7.8React Testing Library
- 6.7Jest
- 6.6WebdriverIO
- 6.4Cypress
- 6.0Mocha
- 5.4AVA
- 5.1Jasmine
- 5.0Node Tap