Console.log statements output nothing at all in Jest
You can run both options together like this --watch --verbose false
if you want to also be watching the files and see the output.
for one time runs just do --verbose false
Jest suppresses the console log message by default. In order to show the console log message, set silent option to false at the command line
set --silent=false
in the command line:
npm run test -- --silent=false
As per comment on https://github.com/facebook/jest/issues/2441,
Try setting verbose: false (or removing it) in the jest options in package.json.
Check for your command line flags in package.json
to see that you don't have --silent
in there.