title: No console.log to STDOUT when running "npm test" (jest)
body: <p>From what I know <code>console.log()</code> should work without problem printing to the STDOUT of my console, when running a script.</p>
  <p>But in my case I have NPM configured to run Jest when issuing <code>npm test</code> from the shell, and any <code>console.log()</code> inside the test files doesn't print anything on the screen.
  I tried also to use <code>process.stdout.write()</code> but still I get no custom output when running <code>npm test</code>.</p>
  <p>How am I supposed to debug stuff in my test scripts?
  I can't figure out if it is a problem from Node, from NPM, or from Jest.
  There's a <a href="https://github.com/facebook/jest/issues/2441" rel="noreferrer">Jest issue</a> that looks similar to mine but still I cannot solve and get to output a simple string; while there rest of Jest output is echoed as usual.</p>
  <p>Anybody experienced a similar problem?</p>
  <p><strong>EDIT 1:</strong>
  I tried running <code>npm test -- --runInBand</code> but the log doesn't appear.</p>
  <h3>Note</h3>
  <p>trying to run the command repeatedly like</p>
  <p><code>console.log('foo...');console.log('bar..');console.log('baz..');</code></p>
  <p>I can sometimes <em>see the log</em>, but this is then overwritten/hidden by the rest of the following Jest output.</p>