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:
Use Babel to transpile those JS Modules and you'll be able to write your tests with es6.
npm i -D @babel/preset-env
//babel.config.js module.exports = {presets: ['@babel/preset-env']}