bandingkan
Jest vs Vitest
Fakta yang sama untuk keduanya, dibaca dari GitHub setiap malam, dan hubungan keduanya yang ditinjau oleh manusia.
| Fakta | Jest | Vitest |
|---|---|---|
| Bahasa | TypeScript | TypeScript |
| Lisensi | MIT | MIT |
| Bintang | 45k | 17k |
| Terbaru | v30.5.2 | v5.1.1 |
| Push terakhir | 2026-11-20 | 2026-11-23 |
| Frekuensi rilis | sekitar 11 hari antar rilis | sekitar 15 hari antar rilis |
| Kontributor aktif | 7 penulis commit di branch default dalam 90 hari terakhir | 59 penulis commit di branch default dalam 90 hari terakhir |
| Peringatan | tidak ada | tidak ada |
Hubungan keduanya
Vitest menggantikan Jest. Alternatif Jest →
Pengganti penuhJest-compatible API, running on Vite's transform pipeline.
Keduanya menggantikan Mocha. Alternatif Mocha →
Pengganti penuhJestJavaScript test runner with assertions, mocking and coverage built in.
Pengganti penuhVitestRuns describe and it style tests with assertions and mocks built in.
Jest
- v30.5.22026-09-18[@jest/transform] Strip TypeScript types with Node when no transformer claims a .ts, .mts or .cts file (#16421)
- v30.5.12026-09-01[jest-config] Don't warn about global-only options in the config that supplies the global config - the root config a pr…
- v30.5.02026-08-28On a personal note: King Harald V of Norway passed away this morning. He ascended the throne 35 years ago, two months b…
- v30.4.22026-05-09[jest-runtime] Fix named imports from CJS modules whose module.exports is a function with own-property exports (#16150)
- v30.4.12026-05-08[jest-config, jest-core, jest-runner, jest-schemas, jest-types] Allow custom runner configuration options via tuple for…
Vitest
- v5.1.12026-11-17cache: Add fs module cache env variables - by @sheremet-va in <samp>(708c0)</samp>
- v5.1.02026-11-02Add --last-failed to run only failed tests - by @sheremet-va in <samp>(82f63)</samp>
- v5.1.0-beta.12026-10-19Add --last-failed to run only failed tests - by @sheremet-va in <samp>(82f63)</samp>pra-rilis
- v4.1.122026-10-15mocker: Harden manual and redirect mocks [backport to v4] - by @sheremet-va in <samp>(b8253)</samp>
- v5.0.52026-10-15Keep vite default fs.deny with api token file - by @hi-ogawa, Hiroshi Ogawa and Claude Opus 5.5 in <samp>(2…
Jest
tanpa tanda tangan Rilis terbaru, v30.5.2, tidak memiliki tanda tangan yang dapat diverifikasi GitHub.
Memuat laporan keamanan
Vitest
✓ bertanda tangan Rilis terbaru, v5.1.1, memiliki tanda tangan yang diverifikasi GitHub.
Memuat laporan keamanan