Test fail on Build with code: error c

I am building an app in React with Typescript and using Jest for testing. The tests work fine locally on my linux machine(Ubuntu 18.04) but fails on circle with this error:


This should be mocked but it does not seem to be happening and I am using the same version of node in circleci that I am locally

I think you are missing an error, could you please edit the post and add it in?