Does Jest swallow console.log output?
console.log
// __tests__/log.test.js it(\'logs\', () => { console.log(\'hey\') // expect to see \"hey\" printed in t
This seems to be an ongoing issue.
With Node 10.7.0 and Jest 23.4.1, adding verbose: false to the jest config (per this suggestion) worked for me.
verbose: false
Edit
Now that I've gone to Jest 23.6 I also need to pass TERM=dumb as an environment variable, per Tamlyn's answer.
TERM=dumb