React Native Update 0.56: npm test is broken (even in new projects). Jest tests do not run. #20053
Closed
3 tasks done
Labels
Resolution: Locked
This issue was locked by the bot.
I went through all these requirements before I filed this issue. Can't find a fix anywhere.
Environment
Here is my environment:
Description
While trying to test my newly created action creators,
npm test
throws the following error:I have googled heavily and can't find a fix. It seems like it has something to do with babel.
Reproducible Demo
It's easy to reproduce (currently). I tried an started a new project using
react-native init
. Then I just created a random.test.js
file and wrote the getting started test of the documentation in it:Next I run 'npm test' and it gives the error above.
The text was updated successfully, but these errors were encountered: