aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit
diff options
context:
space:
mode:
authorGeoSot <[email protected]>2021-11-28 03:09:42 +0200
committerXhmikosR <[email protected]>2021-12-01 18:00:36 +0200
commitc69ccba08cd4f16d42bd83ffd40d2a57c9ca0ffc (patch)
treea02c7bc3176bc8d9a779d71d0d2d163cb88ea115 /js/tests/unit
parenta20e4203fe951593e804254f8d0593a822dc5e50 (diff)
downloadbootstrap-c69ccba08cd4f16d42bd83ffd40d2a57c9ca0ffc.tar.xz
bootstrap-c69ccba08cd4f16d42bd83ffd40d2a57c9ca0ffc.zip
Tooltip: Change `_enter` & `_leave` to work without arguments
Diffstat (limited to 'js/tests/unit')
-rw-r--r--js/tests/unit/tooltip.spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/tooltip.spec.js b/js/tests/unit/tooltip.spec.js
index d261986c3..7dff265b7 100644
--- a/js/tests/unit/tooltip.spec.js
+++ b/js/tests/unit/tooltip.spec.js
@@ -702,7 +702,7 @@ describe('Tooltip', () => {
expect(document.querySelectorAll('.tooltip')).toHaveSize(1)
done()
}, 200)
- }, 0)
+ }, 3)
tooltipEl.dispatchEvent(createEvent('mouseover'))
})
@@ -765,7 +765,7 @@ describe('Tooltip', () => {
expect(tooltip.getTipElement().getAttribute('data-popper-placement')).toEqual('top')
done()
}, 200)
- }, 0)
+ }, 3)
tooltipEl.dispatchEvent(createEvent('mouseover'))
})