Skip to main content

Jest 11.0

· 5 min read

Today we're announcing a switch to major revisions for Jest with Jest 11.0 being the first major release. Jest has been used by Facebook engineers and on our continuous integration systems for years and we believe Jest has been way beyond a “1.0 release” for a long time. This is similar to a change the React team has made.

If you are using Jest 0.9 or Jest 0.10 the upgrade should be seamless. All changes from the last few months were rolled into Jest 11.0.

New in Jest 11.0

Babel Integration and Simplified Setup

babel-jest was adopted within the newly modularized Jest repository and it is now seamlessly integrated into Jest. If you are upgrading from an older version of Jest or are looking to adopt Jest, we recommend reading the Getting Started guide.

javascript-unit-testing-performance

· 11 min read

Jest está executando milhares de testes no Facebook o tempo todo, através da integração contínua invocado manualmente por engenheiros durante o desenvolvimento. Isso funcionou bem por anos, mesmo quando as pessoas que trabalhavam no Jest passaram para outros projetos dentro do Facebook.

À medida que os engenheiros adicionavam mais e mais testes, percebemos que o desempenho do Jest não estava aumentando. Além disso, no ano passado, o ecossistema JavaScript mudou drasticamente com a introdução de ferramentas como npm3 e Babel, que não havíamos previsto. Formamos uma nova equipe Jest para resolver todos esses problemas, vamos compartilhar o nosso progresso e planos neste blog a partir de agora.