Sinon stub callsFake argument : <p>I had the following stubs running perfectly before</p>

<pre><code>sinon.stub(console, 'log', () =&gt; {
    // Check what the arguments holds 
    // And either console.info it or do nothing
});
</code></pre>

<p>For example, adding <code>console.info(arguments)</code> inside there, would show me whatever <code>console.log</code> was getting.</p>

<p>With version <code>2xx</code> I switched to <code>callsFake</code>:</p>

<pre><code>sinon.stub(console, 'log').callsFake(() =&gt; {
    // Check what the arguments holds
    // And either console.info it or do nothing
});
</code></pre>

<p>This now longer works. <code>console.info(arguments)</code> has bazaar values, and nothing to do with what <code>console.log</code> is passing. </p>

<p>What am I doing wrong?!</p>
