Skip to content

Commit af52795

Browse files
committed
Remove duplicate test.
1 parent f6ff736 commit af52795

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

js/tests/unit/tooltip.js

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -629,29 +629,6 @@ $(function () {
629629
$tooltip.trigger('mouseenter')
630630
})
631631

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-
655632
QUnit.test('should not show tooltip if leave event occurs before delay expires, even if hide delay is 0', function (assert) {
656633
assert.expect(2)
657634
var done = assert.async()

0 commit comments

Comments
 (0)