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

236
Visualizações
Jest component test passes but gives open handles warning and does not exit - React/Jest

My component test passes but it also flags an open handles issue? I don't know where the issue could be as this only happens on the CI pipeline. The method that gets flagged is:

Jest has detected the following 1 open handle potentially keeping Jest from exiting:

  ●  TCPWRAP

      54 |
      55 |     const getDataForApp = async (): Promise<any> => {
    > 56 |         const response = await axios.get(`${apiUrlForApp}/app/product`, {
         |                                      ^
      58 |         }).then(res => res.data);
      59 |

If the tests pass, then what could this be trying to tell me? as it stops jest from exiting anyway.

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