]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove duplicate test.
authorXhmikosR <xhmikosr@gmail.com>
Fri, 27 Nov 2020 12:17:15 +0000 (14:17 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 15 Sep 2021 12:44:20 +0000 (15:44 +0300)
js/tests/unit/tooltip.js

index b859f53cbe7ef01ad101cce58a17d2d85b670903..4ec90c827dbd77277c8c221e17d92a3d081dfd56 100644 (file)
@@ -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()