winjs/winjs — pull request #174 by spankyj (2014-04-22 03:21:42+00:00)
Title: Changes to unit tests in order to improve unit test performance.

The main change

is to run animations at 20x normal speed, this is accomplished by having the animation engine divide all delay/duration specifications by 20 and then in order to have the tests still pass and such I have updated all the unit tests which were attempting to coordinate with tests to use `WinJS.UI._animationTestAdjustment()` in order to apply the same factor to their delays.

In a couple of places I also massaged tests which had needless delays. Clearly there is more work which can be done, although on my machine this has already reduced times from ~ 30 min to ~ 9 min.