jQuery stop animation
On a recent project I was required to write some QUnit based tests for some jQuery widgets that I’d built. The goal was to try and test all of the functionality of the widget in isolation, however some aspects of the widget required animations to fire and complete before I could test the outcome. QUnit [...]