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

125
Vistas
After pulling the latest changes jest tests are starting to fail because of new imported SVG icons

The thing is that we have many SVG icons used as:

import {ReactComponent as SomeIcon} from @assets/icons/some-icon

I configured jest so it passes all icons except 2 new ones which I pulled from the master branch and received as update. Now it says React jsx type is invalid it expects string for built in components but got undefined. The import and SVG format is the same as other ones which work fine. Why jest test should fail only the newly pulled icons? Also app runs fine and icons are there. The problem is only the test.

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