Jest from create-react-app not running on Windows
问题 I have a problem running Jest from a clean installed app created using create-react-app on Windows 8.1. After the installation, running the command npm run test , I get the error: No tests found related to files changed since last commit. Running jest --watchAll , so bypassing the react-scripts, in the same directory, though, shows: Test suite failed to run Jest encountered an unexpected token This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain