Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

235
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda