NPM Star
Collections
  1. Home
  2. Compare
  3. jest vs vitest
NPM Compare

Compare NPM packages statistics, trends, and features

CollectionsVS Code extensionChrome extensionTermsPrivacyLinkTreeIndiehackersBig Frontendqiuyumi

Unable to load comparison data. Please try again later.

Jest

🃏 Delightful JavaScript Testing

  • 👩🏻‍💻 Developer Ready: Complete and ready to set-up JavaScript testing solution. Works out of the box for any React project.

  • 🏃🏽 Instant Feedback: Failed tests run first. Fast interactive mode can switch between running all tests or only test files related to changed files.

  • 📸 Snapshot Testing: Jest can capture snapshots of React trees or other serializable values to simplify UI testing.

Read More: https://jestjs.io/

vitest

NPM version

Next generation testing framework powered by Vite.

GitHub | Documentation

Dependencies Comparison

jest

Dependencies

jest-cli30.5.2
@jest/core30.5.2
@jest/types30.5.1
import-local^3.2.0

Dev Dependencies

Peer Dependencies

node-notifier^8.0.1 || ^9.0.0 || ^10.0.0

vitest

Dependencies

chai^6.2.2
obug^2.1.4
std-env^4.2.0
tinyexec1.3.0
picomatch^4.0.7
tinybench6.1.4
tinyglobby^0.2.17
@types/chai^5.2.2
expect-type^1.4.0
magic-string^1.2.3
@vitest/mocker5.0.1
es-module-lexer^2.3.2
why-is-node-running^2.3.0

Dev Dependencies

ws^8.21.3
cac^6.7.14
mime^4.1.0
vite^6.4.0 || ^7.0.0 || ^8.0.0
acorn8.11.3
birpc^4.2.0
jsdom^29.1.1
pathe^2.0.3
flatted^3.4.4
prompts^2.4.2
happy-dom^20.12.0
local-pkg^1.2.1
acorn-walk^8.3.5
@types/node^24.13.3
@vitest/spy5.0.1
tinyrainbow^3.1.1
@bomb.sh/tab^0.0.22
@types/jsdom^28.0.3
@vitest/utils5.0.1
strip-literal^3.1.0
tinyhighlight^0.3.2
@types/prompts^2.4.9
@vitest/expect5.0.1
@edge-runtime/vm^5.0.0
@types/picomatch^4.0.3
@vitest/snapshot5.0.1
@antfu/install-pkg^2.0.1
@opentelemetry/api^1.9.1
@sinonjs/fake-timers15.4.0
@vitest/pretty-format5.0.1
@jridgewell/trace-mapping0.3.31
@vitest/istanbul-lib-report^1.0.0
@vitest/istanbul-lib-coverage^1.0.0

Peer Dependencies

vite^6.4.0 || ^7.0.0 || ^8.0.0
jsdom*
happy-dom*
@vitest/ui5.0.1
@types/node^22.0.0 || >=24.0.0
@edge-runtime/vm*
@opentelemetry/api^1.9.0
@vitest/coverage-v85.0.1
@vitest/browser-preview5.0.1
@vitest/coverage-istanbul5.0.1
@vitest/browser-playwright5.0.1
@vitest/browser-webdriverio^5.0.0-beta.5 || >=5.0.0

Who's Using These Packages

jest

OverVue
OverVue

Prototyping Tool For Vue Devs 适用于Vue的原型工具

hiui
hiui

HIUI is a solution that is adequate for the fomulation and implementation of interaction and UI design standard for front, middle and backend.

tryhackme-ctf
tryhackme-ctf

TryHackMe CTFs writeups, notes, drafts, scrabbles, files and solutions.

benefit
benefit

✨ Utility CSS-in-JS library that provides a set of low-level, configurable, ready-to-use styles

pola-web
pola-web

Pola pomoże Ci odnaleźć polskie wyroby. Zabierając Polę na zakupy odnajdujesz produkty “z duszą” i wspierasz polską gospodarkę.

vitest

dumi
dumi

📖 Static Site Generator for component library development

Krawl
Krawl

Krawl is a customizable, lightweight, cloud-native web deception server and anti-crawler that creates fake web applications with low-hanging vulnerabilities using realistic, randomly generated decoy data and AI-generated HTML templates.

use-funnel
use-funnel

A powerful and safe step-by-step state management library at React

bati
bati

🔨 Next-gen scaffolder. Get started with fully-functional apps, and choose any tool you want.

StarsIssuesVersionUpdatedⓘLast publish dateCreatedⓘPackage creation dateSizeⓘMinified + Gzipped size
J
jest
45,46219030.5.2a month ago14 years agoinstall size N/A
V
vitest
17,1334285.0.1a month ago5 years agoinstall size 100.9 KB