From aaca3e6fdc78632477bacae4c82264232a609bd9 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 27 Nov 2020 11:24:31 +0200 Subject: [PATCH] Remove commented out test --- js/tests/unit/tooltip.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/js/tests/unit/tooltip.js b/js/tests/unit/tooltip.js index 460a02c99..ba4065b68 100644 --- a/js/tests/unit/tooltip.js +++ b/js/tests/unit/tooltip.js @@ -350,22 +350,6 @@ $(function () { assert.ok(!$._data($tooltip[0], 'events').mouseover && !$._data($tooltip[0], 'events').mouseout, 'tooltip does not have hover events') }) - // QUnit.test('should show tooltip with delegate selector on click', function (assert) { - // assert.expect(2) - // var $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) $('')