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.