Console.log statements output nothing at all in Jest

Hina Dawood picture Hina Dawood · Feb 8, 2018 · Viewed 75.5k times · Source

console.log statements output nothing at all in Jest. This was working for me yesterday, and all of sudden, it's not working today. I have made zero changes to my config and haven't installed any updates.

I'm not using the --forceExit option. Still seeing this issue.

Answer

Apurva Mulay picture Apurva Mulay · Jun 30, 2018

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.