comparar
Jest vs Mocha
Los mismos datos para ambos, leídos de GitHub cada noche, y la relación que revisó una persona.
| Dato | Jest | Mocha |
|---|---|---|
| Lenguaje | TypeScript | JavaScript |
| Licencia | MIT | MIT |
| Estrellas | 45k | 23k |
| Última versión | v30.5.2 | v12.0.3 |
| Último push | 2026-10-18 | 2026-10-18 |
| Ritmo de versiones | alrededor de 11 días entre versiones | alrededor de 11 días entre versiones |
| Colaboradores activos | 20 autores de commits en la rama por defecto en los últimos 90 días | 17 autores de commits en la rama por defecto en los últimos 90 días |
| Avisos | ninguno | ninguno |
Cómo se relacionan
Jest sustituye a Mocha. Alternativas a Mocha →
Sustitución completaJavaScript test runner with assertions, mocking and coverage built in.
Ambos sustituyen a Jasmine. Alternativas a Jasmine →
Sustitución completaJestJavaScript test runner with assertions, mocking and coverage built in.
Sustitución completaMochaJavaScript 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)versión preliminar
Jest
sin firmar La última versión, v30.5.2, no lleva ninguna firma que GitHub haya podido verificar.
Cargando el informe de seguridad
Mocha
✓ firmada La última versión, v12.0.3, lleva una firma que GitHub ha verificado.
Cargando el informe de seguridad