diff --git a/js/tests/unit/tooltip.js b/js/tests/unit/tooltip.js index b578704af4b7b4bf5389408af712f65fe6aef3d1..c75924e9ffad89d6da99a5bbf039128eaf714b6a 100644 --- a/js/tests/unit/tooltip.js +++ b/js/tests/unit/tooltip.js @@ -768,6 +768,8 @@ $(function () { var offset = $('.tooltip').offset() $styles.remove() ok(Math.abs(offset.left - 88) <= 1, 'tooltip has correct horizontal location') + $circle.bootstrapTooltip('hide') + equal($('.tooltip').length, 0, 'tooltip removed from dom') start() }) .bootstrapTooltip({ container: 'body', placement: 'top', trigger: 'manual' })