Jest vs Mocha
Fakta yang sama untuk keduanya, dibaca dari GitHub setiap malam, dan hubungan keduanya yang ditinjau oleh manusia.
| Fakta | Jest | Mocha |
|---|---|---|
| Bahasa | TypeScript | JavaScript |
| Lisensi | MIT | MIT |
| Bintang | 45k | 23k |
| Terbaru | v30.5.2 | v12.0.3 |
| Push terakhir | 2026-12-03 | 2026-12-03 |
| Frekuensi rilis | sekitar 11 hari antar rilis | sekitar 11 hari antar rilis |
| Kontributor aktif | 3 penulis commit di branch default dalam 90 hari terakhir | 17 penulis commit di branch default dalam 90 hari terakhir |
| Peringatan | tidak ada | tidak ada |
Hubungan keduanya
Jest menggantikan Mocha. Alternatif Mocha
Pengganti penuhJavaScript test runner with assertions, mocking and coverage built in.
Keduanya menggantikan Jasmine. Alternatif Jasmine
Pengganti penuhJestJavaScript test runner with assertions, mocking and coverage built in.
Pengganti penuhMochaJavaScript test framework for Node and browsers, using an assertion library of your choice.
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…
Mocha
- v12.0.32026-10-01keep watching when the last test file is removed (#6355) (921c161)
- v12.0.22026-09-17fail nested tests on beforeEach failure (#6292) (a75b43b)
- v12.0.12026-09-11bump serialize-javascript to ^7.1.1 (#6278) (02558a3)
- v12.0.02026-08-31fixup parsing negative numbers and quoted strings (#6250) (2962875)
- v12.0.0-rc.62026-08-09deps: update dependency starlight-blog to ^0.28.0 (#6153) (6b79044)pra-rilis
Jest
tanpa tanda tangan Rilis terbaru, v30.5.2, tidak memiliki tanda tangan yang dapat diverifikasi GitHub.
Memuat laporan keamanan
Mocha
bertanda tangan Rilis terbaru, v12.0.3, memiliki tanda tangan yang diverifikasi GitHub.
Memuat laporan keamanan