Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

127
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!