I have a React application (not using Create React App) built using TypeScript, Jest, Webpack, and Babel. When trying to run \"yarn jest\", I get the following error:
I solved this by migrating the .babelrc file to babel.config.js! Shocker.
.babelrc
babel.config.js