New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jest fails when not using Babel #1850
Comments
The preset must be coming from a |
To fix:
|
Doh! there was a Thanks for the hint! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Even the simplest project, as described in the Getting Started guide now fails.
Create the sample project (
sum.js
andsum.spec.js
) and then try to run Jest, it fails withCouldn't find preset "es2015" relative to directory "/Users/ianp/Projects"
. Or check out this gist: https://gist.github.com/0e44151b16718ebc83bb25efb68a9395 .In the debug configuration (below) I can see that it is setting
usesBabelJest
to true, although I'm not sure why that should be the base as I'm not using Babel in my project. I've tried addingusesBabelTest: false
topackage.json
but that made no difference. I can also see that thepreset
seems to be null in the configuration, which seems odd given the error message 🤔The text was updated successfully, but these errors were encountered: