Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

Vitest vs Jest

In 4,864 JavaScript/TypeScript projects set up for AI coding agents, Vitest is a dependency in 1,314 (27.0%) and Jest in 396 (8.1%): Vitest is 3.3× as common. Among repos created in the last 90 days that use a testing tool, Vitest is in 65.0% and Jest in 6.8%, against 56.4% and 17.6% of older ones. 61 projects list both, often a sign of a migration or of a monorepo with several apps.

Testing npm Updated Nov 17, 2026

Vitest27.0%
Jest8.1%

Share of 4,864 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.

Side by side

VitestJest
Agent projects that use it1,314396
Rank in testing#1#5
In new repos with a testing tool (last 90 days)65.0%6.8%
In older repos with one56.4%17.6%
Downloads, last 7 days185M60.2M
GitHub stars17.4K45.5K
Last push to its repoNov 17, 2026Nov 16, 2026
LicenseMITMIT
FundingYesYes
Projects that list both61

Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.

By coding agent

Projects set up forJavaScript/TypeScript reposVitestJest
Claude Code2,61732.7%7.6%
GitHub Copilot2,35026.4%7.3%
Cursor1,99025.2%11.9%
Gemini CLI42234.6%10.0%
OpenAI Codex40935.7%7.6%
OpenCode30432.2%6.9%
OpenClaw24138.6%0%
Devin Desktop23125.5%17.3%
Kiro12527.2%16.0%
Roo-Code9017.8%22.2%

Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.

Vitest

Next-generation testing framework powered by Vite with native ESM.

Most often used with it:

jsdom41.6% of its projects
TypeScript93.7% of its projects
Testing Library36.3% of its projects
Vite50.3% of its projects
ESLint62.9% of its projects

npm install vitest

Jest

Delightful JavaScript testing framework with minimal configuration.

Most often used with it:

Testing Library44.7% of its projects
ESLint77.5% of its projects
TypeScript86.9% of its projects
Prettier53.0% of its projects
ts-node33.1% of its projects

npm install jest

More matchups

Vitest vs Nx Jest Pluginjsdom vs Happy DOM

How we count

Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.