diff options
| author | XhmikosR <[email protected]> | 2020-12-15 11:24:13 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-12-15 11:24:13 +0200 |
| commit | ea9c7e735b2593229a504d53e986eb38cacc7066 (patch) | |
| tree | 5a872f8f959232592bb0aa34cc5b4dbb7ecbc364 /js/tests/unit/tooltip.spec.js | |
| parent | e5933330e1e3c363d240035d67f97ec094577d91 (diff) | |
| parent | cc3a5cf79a5afd73a97dce380f93e0d192a34456 (diff) | |
| download | bootstrap-rohit/main/modal-with-sticky.tar.xz bootstrap-rohit/main/modal-with-sticky.zip | |
Merge remote-tracking branch 'remotes/origin/main' into rohit/main/modal-with-stickyrohit/main/modal-with-sticky
Diffstat (limited to 'js/tests/unit/tooltip.spec.js')
| -rw-r--r-- | js/tests/unit/tooltip.spec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/tests/unit/tooltip.spec.js b/js/tests/unit/tooltip.spec.js index 2b20d7e11..8224c3437 100644 --- a/js/tests/unit/tooltip.spec.js +++ b/js/tests/unit/tooltip.spec.js @@ -286,7 +286,7 @@ describe('Tooltip', () => { expect(Tooltip.getInstance(tooltipEl)).toEqual(null) }) - it('should destroy a tooltip after it is shown and hidden', () => { + it('should destroy a tooltip after it is shown and hidden', done => { fixtureEl.innerHTML = '<a href="#" rel="tooltip" title="Another tooltip">' const tooltipEl = fixtureEl.querySelector('a') @@ -299,6 +299,7 @@ describe('Tooltip', () => { tooltip.dispose() expect(tooltip.tip).toEqual(null) expect(Tooltip.getInstance(tooltipEl)).toEqual(null) + done() }) tooltip.show() |
