title: Why can't I see console log output when testing node apps with jest
body: <p>I am new to testing with jest and I cannot seem to be able to see the console output from modules I want to test.</p>
  
  <blockquote>
    <p>my-module.js:</p>
  </blockquote>
  
  <pre><code>var _ = require('underscore');
  exports.filter = function(data) {
      if(_.isArray(data)) {
          console.log("Data is: " + data);
          data = data[0];
      }
  return data;
  }
  </code></pre>
  
  <blockquote>
    <p>my-module-test.js:</p>
  </blockquote>
  
  <pre><code>jest.dontMock('../my-module');
  
  var testdata = [{label: "test"}, {id: 5}];
  
  describe('test my module', function(){
      it('changes some data' , function(){
          var transformedData = require('../my-module').filter(testdata);
          expect(transformedData).toBe(testdata[0]);
      });
  });
  </code></pre>
  
  <p>Why is jest swallowing my console.log output in "my-module.js"?</p>