Merge "qunit: Also clear $.timers when stopping unfinished animations"
This commit is contained in:
commit
bd23a0b91d
1 changed files with 1 additions and 0 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue