visionmedia/mocha — pull request #837 by jimmycuadra (2013-05-06 18:11:53+00:00)
Title: Save timer references to avoid Sinon interfering in the browser build

I discovered that the issues discussed in #237 still affect the browser build of Mocha because references to the global Date/timer objects were not being saved in the closure that defines the `timeslice` function. I added the same code that is being used in other modules to `tail.js` which fixes this problem. This keeps the test runner from hanging for me.