File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -629,29 +629,6 @@ $(function () {
629
629
$tooltip . trigger ( 'mouseenter' )
630
630
} )
631
631
632
- QUnit . test ( 'should not show tooltip if leave event occurs before delay expires' , function ( assert ) {
633
- assert . expect ( 2 )
634
- var done = assert . async ( )
635
-
636
- var $tooltip = $ ( '<a href="#" rel="tooltip" title="Another tooltip"/>' )
637
- . appendTo ( '#qunit-fixture' )
638
- . bootstrapTooltip ( {
639
- delay : 150
640
- } )
641
-
642
- setTimeout ( function ( ) {
643
- assert . false ( $ ( '.tooltip' ) . is ( '.fade.show' ) , '100ms: tooltip not faded active' )
644
- $tooltip . trigger ( 'mouseout' )
645
- } , 100 )
646
-
647
- setTimeout ( function ( ) {
648
- assert . false ( $ ( '.tooltip' ) . is ( '.fade.show' ) , '200ms: tooltip not faded active' )
649
- done ( )
650
- } , 200 )
651
-
652
- $tooltip . trigger ( 'mouseenter' )
653
- } )
654
-
655
632
QUnit . test ( 'should not show tooltip if leave event occurs before delay expires, even if hide delay is 0' , function ( assert ) {
656
633
assert . expect ( 2 )
657
634
var done = assert . async ( )
You can’t perform that action at this time.
0 commit comments