@swc/jest
Jest integration using SWC for fast TypeScript and JavaScript test compilation.
Testing npm MIT
Used in agent projects
29
0.2% of 12,697 public repos built with AI coding agents
Rank in testing
#27 of 40
by use in those projects
Downloads
8.5M
npm, last 7 days, @swc/jest
GitHub stars
88
last push Aug 31, 2026
How @swc/jest is used
@swc/jest is a dependency in 29 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #27 of 40 in testing. The most used alternative there is Vitest. Projects that use it most often also use Jest (100.0%), SWC (96.6%), Prettier (79.3%).
Often used with @swc/jest
| Jest | 100.0% of @swc/jest projects · 18.1× more than average |
|---|---|
| SWC | 96.6% of @swc/jest projects · 84.0× more than average |
| Prettier | 79.3% of @swc/jest projects · 4.5× more than average |
| ts-node | 75.9% of @swc/jest projects · 11.1× more than average |
| Testing Library | 62.1% of @swc/jest projects · 8.6× more than average |
| Nx | 55.2% of @swc/jest projects · 52.7× more than average |
| Nx Jest Plugin | 51.7% of @swc/jest projects · 115.2× more than average |
| Nx JS Plugin | 51.7% of @swc/jest projects · 62.5× more than average |
By coding agent
| Claude Code | 0.5% of projects set up for it |
|---|---|
| Cursor | 0.7% of projects set up for it |
| GitHub Copilot | 0.2% of projects set up for it |
Share of public repos configured for each agent that list @swc/jest as a dependency.
Install
| Package | npm install @swc/jest |
|---|---|
| Main stacks | TypeScript / JavaScript (21), Next.js (4), Go (2), Rust (2) |
| Example projects | Khan/wonder-blocks, bitrise-io/bitrise-workflow-editor, tangle-network/dapp, BillionaireBB97/CNFT_Mint, scoutgame/scoutgame.xyz |
Alternatives to @swc/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 |
| Jest npm Delightful JavaScript testing framework with minimal configuration. |
702 (5.5%) | 46.3M | 45.6K | 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 |