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

index 8b7287534a9310e4f184d05eccd8faa8b69ebee3..b859f53cbe7ef01ad101cce58a17d2d85b670903 100644 (file)
@@ -352,22 +352,6 @@ $(function () {
     assert.strictEqual(typeof $._data($tooltip[0], 'events').mouseout, 'undefined', 'tooltip does not have mouseout event')
   })
 
-  // QUnit.test('should show tooltip with delegate selector on click', function (assert) {
-  //   assert.expect(2)
-  //   var $div = $('<div><a href="#" rel="tooltip" title="Another tooltip"/></div>')
-  //     .appendTo('#qunit-fixture')
-  //     .bootstrapTooltip({
-  //       selector: 'a[rel="tooltip"]',
-  //       trigger: 'click'
-  //     })
-
-  //   $div.find('a').trigger('click')
-  //   assert.true($('.tooltip').is('.fade.in'), 'tooltip is faded in')
-
-  //   $div.find('a').trigger('click')
-  //   assert.strictEqual($div.data('bs.tooltip').tip.parentNode, null, 'tooltip removed')
-  // })
-
   QUnit.test('should show tooltip when toggle is called', function (assert) {
     assert.expect(1)
     $('<a href="#" rel="tooltip" title="tooltip on toggle"/>')