aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Fenkart <[email protected]>2014-10-26 04:56:52 +0100
committerHeinrich Fenkart <[email protected]>2014-10-26 04:56:52 +0100
commit007fbdb66de629d63af5f811c1d881e95231ac9a (patch)
tree313a07d3b980d8687ce17efc365af4aa6a48f768
parent5da85f8e8b9341ffb0779b98eb7655f0bfab6f22 (diff)
downloadbootstrap-007fbdb66de629d63af5f811c1d881e95231ac9a.tar.xz
bootstrap-007fbdb66de629d63af5f811c1d881e95231ac9a.zip
Remove faulty unit test from 9740d8b
This would only work with transitions but since we disable them for unit tests, this delivers unreliably results.
-rw-r--r--js/tests/unit/tooltip.js30
1 files changed, 0 insertions, 30 deletions
diff --git a/js/tests/unit/tooltip.js b/js/tests/unit/tooltip.js
index 70452df62..351dd61cb 100644
--- a/js/tests/unit/tooltip.js
+++ b/js/tests/unit/tooltip.js
@@ -928,36 +928,6 @@ $(function () {
$tooltip.trigger('mouseenter')
})
- test('should hide tip after hide delay even if mouse left before end of fade in', function () {
- stop()
-
- var $tooltip = $('<a href="#" rel="tooltip" title="Another tooltip for test"/>')
- .appendTo('#qunit-fixture')
- .bootstrapTooltip({ delay: { show: 10, hide: 10 }})
-
- setTimeout(function () {
- ok(!$tooltip.data('bs.tooltip').$tip, '1ms: tooltip exists')
-
- setTimeout(function () {
- ok($tooltip.data('bs.tooltip').$tip.is('.fade.in'), '10ms: tooltip faded in')
- }, 10)
-
- setTimeout(function () {
- ok($tooltip.data('bs.tooltip').$tip.is('.fade.in'), '15ms: tooltip faded in')
-
- $tooltip.trigger('mouseout')
- }, 15)
-
- setTimeout(function () {
- ok(!$tooltip.data('bs.tooltip').$tip.is('.fade.in'), '30ms: tooltip faded out')
-
- start()
- }, 30)
- }, 0)
-
- $tooltip.trigger('mouseenter')
- })
-
test('should correctly position tooltips on SVG elements', function () {
if (!window.SVGElement) {
// Skip IE8 since it doesn't support SVG