Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

159
Visualizações
How to speed up Jest Tests?

It takes a very long time (about 15 seconds) for me to run a suite of about 10 tests using Jest and React Testing Library, kicked off through Intellij Ultimate (Webstorm)

But when I look at the test results pane, it looks like almost all of that time (like 14 seconds) is spent simply setting up the test environment, loading the libraries, etc.

Then it blazes through all 10 tests lightning fast, in less than a second.

Obviously we don't want to spend so much time re-configuring every time, if we are writing tests with minor changes in between.

Isn't there a way to configure this so that after the configuration/loading stage, we can simply repeat the step of editing the test file and rerunning, without having to start over with every change?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda