1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-13 09:04:14 +02:00

Tooltip: Change _enter & _leave to work without arguments

This commit is contained in:
GeoSot
2021-11-28 03:09:42 +02:00
committed by XhmikosR
parent a20e4203fe
commit c69ccba08c
2 changed files with 42 additions and 48 deletions

View File

@@ -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'))
})