diff options
| author | GeoSot <[email protected]> | 2021-12-01 14:53:56 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-12-01 14:53:56 +0200 |
| commit | 44a6cd724c0a5c5247492fdb8db7d4df4705641e (patch) | |
| tree | 0efd605f370c3e88dbd3e82a40ab2faca856566d /js/tests | |
| parent | 2fe90d8b1652df283c291f1ab71906e1d8bd105c (diff) | |
| download | bootstrap-44a6cd724c0a5c5247492fdb8db7d4df4705641e.tar.xz bootstrap-44a6cd724c0a5c5247492fdb8db7d4df4705641e.zip | |
Tooltip: remove leftover method (#35440)
Remove a leftover after #32692
Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'js/tests')
| -rw-r--r-- | js/tests/unit/tooltip.spec.js | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/js/tests/unit/tooltip.spec.js b/js/tests/unit/tooltip.spec.js index 87f6c0a10..19eeca2f5 100644 --- a/js/tests/unit/tooltip.spec.js +++ b/js/tests/unit/tooltip.spec.js @@ -1083,40 +1083,6 @@ describe('Tooltip', () => { }) }) - describe('updateAttachment', () => { - it('should use end class name when right placement specified', done => { - fixtureEl.innerHTML = '<a href="#" rel="tooltip" title="Another tooltip">' - - const tooltipEl = fixtureEl.querySelector('a') - const tooltip = new Tooltip(tooltipEl, { - placement: 'right' - }) - - tooltipEl.addEventListener('inserted.bs.tooltip', () => { - expect(tooltip.getTipElement()).toHaveClass('bs-tooltip-auto') - done() - }) - - tooltip.show() - }) - - it('should use start class name when left placement specified', done => { - fixtureEl.innerHTML = '<a href="#" rel="tooltip" title="Another tooltip">' - - const tooltipEl = fixtureEl.querySelector('a') - const tooltip = new Tooltip(tooltipEl, { - placement: 'left' - }) - - tooltipEl.addEventListener('inserted.bs.tooltip', () => { - expect(tooltip.getTipElement()).toHaveClass('bs-tooltip-auto') - done() - }) - - tooltip.show() - }) - }) - describe('setContent', () => { it('should do nothing if the element is null', () => { fixtureEl.innerHTML = '<a href="#" rel="tooltip" title="Another tooltip">' |
