title: Jest - how to get the ID of a setTimeout?
body: <p>I have the following test:</p>
  
  <pre><code>it('should have a numerical id set', () =&gt; {
    var id = setTimeout(function () {
      console.log(id); //Here
    }, 1000);
    console.log(id);
  
    // Expectation to be run here.
  });
  </code></pre>
  
  <p>The console is logging out this:</p>
  
  <pre><code>{
    "_called": false,
    "_destroyed": false,
    "_idleNext": null,
    "_idlePrev": null,
    "_idleStart": 1423,
    "_idleTimeout": -1,
    "_onTimeout": null,
    "_repeat": null,
    "_timerArgs": undefined,
    Symbol(unrefed): false,
    Symbol(asyncId): 160,
    Symbol(triggerId): 0
  }
  </code></pre>
  
  <p>Why is it logging this instead of a numerical value and how do I get the numerical value?</p>