Vitest vs Nx Jest Plugin
In 4,864 JavaScript/TypeScript projects set up for AI coding agents, Vitest is a dependency in 1,314 (27.0%) and Nx Jest Plugin in 53 (1.1%): Vitest is 24.8× as common. Among repos created in the last 90 days that use a testing tool, Vitest is in 65.0% and Nx Jest Plugin in 0.9%, against 56.4% and 2.4% of older ones. 24 projects list both, often a sign of a migration or of a monorepo with several apps.
Testing npm Updated Nov 17, 2026
| Vitest | 27.0% | |
|---|---|---|
| Nx Jest Plugin | 1.1% |
Share of 4,864 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.
Side by side
| Vitest | Nx Jest Plugin | |
|---|---|---|
| Agent projects that use it | 1,314 | 53 |
| Rank in testing | #1 | #13 |
| In new repos with a testing tool (last 90 days) | 65.0% | 0.9% |
| In older repos with one | 56.4% | 2.4% |
| Downloads, last 7 days | 185M | 4M |
| GitHub stars | 17.4K | 29.5K |
| Last push to its repo | Nov 17, 2026 | Nov 17, 2026 |
| License | MIT | MIT |
| Funding | Yes | — |
| Projects that list both | 24 | |
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 for | JavaScript/TypeScript repos | Vitest | Nx Jest Plugin |
|---|---|---|---|
| Claude Code | 2,617 | 32.7% | 1.0% |
| GitHub Copilot | 2,350 | 26.4% | 0.9% |
| Cursor | 1,990 | 25.2% | 1.9% |
| Gemini CLI | 422 | 34.6% | 2.1% |
| OpenAI Codex | 409 | 35.7% | 2.2% |
| OpenCode | 304 | 32.2% | 2.6% |
| OpenClaw | 241 | 38.6% | 0% |
| Devin Desktop | 231 | 25.5% | 0% |
| Kiro | 125 | 27.2% | 0% |
| Roo-Code | 90 | 17.8% | 0% |
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:
| jsdom | 41.6% of its projects |
|---|---|
| TypeScript | 93.7% of its projects |
| Testing Library | 36.3% of its projects |
| Vite | 50.3% of its projects |
| ESLint | 62.9% of its projects |
npm install vitest
Nx Jest Plugin
Nx plugin providing Jest testing capabilities and executors for monorepo projects.
Most often used with it:
| Nx | 100.0% of its projects |
|---|---|
| Jest | 96.2% of its projects |
| Nx JS Plugin | 92.5% of its projects |
| SWC | 88.7% of its projects |
| Prettier | 86.8% of its projects |
npm install @nx/jest
More matchups
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.