Debian Codegraph @

tests/unit/tooltip/helper.js

raw symbols SCIP
1 define( [
2 "qunit",
3 "jquery",
4 "lib/helper",
5 "ui/widgets/tooltip"
6 ], function( QUnit, $, helper ) {
7 "use strict";
8
9 return $.extend( helper, {
10 beforeAfterEach: function() {
11 return {
12 afterEach: function() {
13 var index, timer,
14 timers = jQuery.timers;
15
16 jQuery.fx.stop();
17
18 for ( index = timers.length; index--; ) {
19 timer = timers[ index ];
20 timer.anim.stop();
21 timers.splice( index, 1 );
22 }
23
24 return helper.moduleAfterEach.apply( this, arguments );
25 }
26 };
27 }
28 } );
29
30 } );