comparar
Jest vs Mocha
Os mesmos fatos para os dois, lidos do GitHub toda noite, e a relação que uma pessoa revisou.
| Fato | Jest | Mocha |
|---|---|---|
| Linguagem | TypeScript | JavaScript |
| Licença | MIT | MIT |
| Estrelas | 45k | 23k |
| Última release | v30.5.2 | v12.0.3 |
| Último push | 2026-10-18 | 2026-10-18 |
| Ritmo de releases | cerca de 11 dias entre releases | cerca de 11 dias entre releases |
| Contribuidores ativos | 20 autores de commits na branch padrão nos últimos 90 dias | 17 autores de commits na branch padrão nos últimos 90 dias |
| Alertas | nenhum | nenhum |
Como se relacionam
Jest substitui Mocha. Alternativas a Mocha →
Substituição completaJavaScript test runner with assertions, mocking and coverage built in.
Os dois substituem Jasmine. Alternativas a Jasmine →
Substituição completaJestJavaScript test runner with assertions, mocking and coverage built in.
Substituição 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)pré-release
Jest
não assinada A última release, v30.5.2, não tem nenhuma assinatura que o GitHub consiga verificar.
Carregando o relatório de segurança
Mocha
✓ assinada A última release, v12.0.3, tem uma assinatura verificada pelo GitHub.
Carregando o relatório de segurança