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

126
Visualizações
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 à 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