aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-11-27 14:17:15 +0200
committerXhmikosR <[email protected]>2021-09-15 15:44:20 +0300
commitaf527955011e92ba8941fedc84230c25cedff8d0 (patch)
tree1399b20f741a1c8da3ad8158ab7d783c959a9721
parentf6ff736a59bc9e8de8f95f23deca94af945697da (diff)
downloadbootstrap-af527955011e92ba8941fedc84230c25cedff8d0.tar.xz
bootstrap-af527955011e92ba8941fedc84230c25cedff8d0.zip
Remove duplicate test.
-rw-r--r--js/tests/unit/tooltip.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/js/tests/unit/tooltip.js b/js/tests/unit/tooltip.js
index b859f53cb..4ec90c827 100644
--- a/js/tests/unit/tooltip.js
+++ b/js/tests/unit/tooltip.js
@@ -629,29 +629,6 @@ $(function () {
$tooltip.trigger('mouseenter')
})
- QUnit.test('should not show tooltip if leave event occurs before delay expires', function (assert) {
- assert.expect(2)
- var done = assert.async()
-
- var $tooltip = $('<a href="#" rel="tooltip" title="Another tooltip"/>')
- .appendTo('#qunit-fixture')
- .bootstrapTooltip({
- delay: 150
- })
-
- setTimeout(function () {
- assert.false($('.tooltip').is('.fade.show'), '100ms: tooltip not faded active')
- $tooltip.trigger('mouseout')
- }, 100)
-
- setTimeout(function () {
- assert.false($('.tooltip').is('.fade.show'), '200ms: tooltip not faded active')
- done()
- }, 200)
-
- $tooltip.trigger('mouseenter')
- })
-
QUnit.test('should not show tooltip if leave event occurs before delay expires, even if hide delay is 0', function (assert) {
assert.expect(2)
var done = assert.async()