Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
af527955
Commit
af527955
authored
4 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Remove duplicate test.
parent
f6ff736a
v4-dev-dropdown-hide-method
v4-dev
v4.6.2
v4.6.1
1 merge request
!36532
My v4 dev
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/tests/unit/tooltip.js
+0
-23
js/tests/unit/tooltip.js
with
0 additions
and
23 deletions
+0
-23
js/tests/unit/tooltip.js
+
0
-
23
View file @
af527955
...
@@ -629,29 +629,6 @@ $(function () {
...
@@ -629,29 +629,6 @@ $(function () {
$tooltip
.
trigger
(
'
mouseenter
'
)
$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
)
{
QUnit
.
test
(
'
should not show tooltip if leave event occurs before delay expires, even if hide delay is 0
'
,
function
(
assert
)
{
assert
.
expect
(
2
)
assert
.
expect
(
2
)
var
done
=
assert
.
async
()
var
done
=
assert
.
async
()
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets