I have this component:
import React from \'react\'; import VideoTag from \'./VideoTag\'; import JWPlayer from \'./JWPlayer\'; class VideoWrapper extends React.C
I also had to add the moduleNameMapper to my jest configuration for my tsconfig path maps in order to get my tests to recognize the path maps I had setup. Something like this:
moduleNameMapper
"moduleNameMapper": { "^yourPath/(.*)": "\\yourPath\\$1" }
Hopefully this will help someone down the line!