Jest vs Mocha
Dieselben Fakten für beide, jede Nacht von GitHub gelesen, dazu die von Hand geprüfte Beziehung.
| Fakt | Jest | Mocha |
|---|---|---|
| Sprache | TypeScript | JavaScript |
| Lizenz | MIT | MIT |
| Sterne | 45k | 23k |
| Neuestes Release | v30.5.2 | v12.0.3 |
| Letzter Push | 2026-12-03 | 2026-12-03 |
| Release-Rhythmus | etwa 11 Tage zwischen Releases | etwa 11 Tage zwischen Releases |
| Aktive Mitwirkende | 3 Commit-Autoren auf dem Standard-Branch in den letzten 90 Tagen | 17 Commit-Autoren auf dem Standard-Branch in den letzten 90 Tagen |
| Hinweise | keine | keine |
Wie sie zusammenhängen
Jest ersetzt Mocha. Alternativen zu Mocha
Vollwertiger ErsatzJavaScript test runner with assertions, mocking and coverage built in.
Beide ersetzen Jasmine. Alternativen zu Jasmine
Vollwertiger ErsatzJestJavaScript test runner with assertions, mocking and coverage built in.
Vollwertiger ErsatzMochaJavaScript 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)Pre-Release
Jest
unsigniert Das neueste Release, v30.5.2, trägt keine Signatur, die GitHub prüfen könnte.
Der Sicherheitsbericht wird geladen
Mocha
signiert Das neueste Release, v12.0.3, trägt eine Signatur, die GitHub geprüft hat.
Der Sicherheitsbericht wird geladen