Merge "qunit: Also clear $.timers when stopping unfinished animations"

This commit is contained in:
jenkins-bot 2017-04-19 00:38:22 +00:00 committed by Gerrit Code Review
commit bd23a0b91d

View file

@ -240,6 +240,7 @@
);
} );
// Force animations to stop to give the next test a clean start
$.timers = [];
$.fx.stop();
throw new Error( 'Unfinished animations: ' + timers );