QUnit asyncTest and Sinon useFakeTimers


I came across a small issue when writing some asynchronous JavaScript unit tests with QUnit.  I needed to wait some amount of time before running my tests.  So one of my test looked something like this.

I ran the tests and nothing happened.  The setTimout function was not firing.  Well I’m also using Sinon JS and it turns out by default Sinon has a fake timers setting that is true by default.