Below settings for my package.json
If I run from command line npm test all jest test cases are executed properly. In case I use directly the command
npm test
In my case i had to update jest to version 21.x (from 20.x).
Try running npm install jest@latest --save-dev.
npm install jest@latest --save-dev