title: How can I stop Jest wrapping `console.log` in test output?
body: <p>I'm making a Jest test with request</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>describe("GET /user ", () =&gt; {
      test("It should respond with a array of users", done =&gt; {
          return request(url, (err, res, body) =&gt; {
              if (err) {
                  console.log(err)
              } else {
                  console.log("GET on " + url);
                  body = JSON.parse(body);
                  expect(body.length).toBeGreaterThan(0);
                  done();
              }
          })
      })
  });</code></pre>
  </div>
  </div>
  </p>
  <p>and it's weird because in the terminal, jest is showing console.log line as  part of the output:</p>
  <pre><code> ...test output...
  
    console.log test/modules/user.test.js:18
      GET on https://xpto/api/user
  
  ...more test output...
  </code></pre>
  <p>I need to hide the line:</p>
  <pre><code>console.log test/modules/user.test.js:18
  </code></pre>
  <p>How to hide console.log line in Jest output?</p>