From: GeoSot Date: Tue, 11 May 2021 09:54:51 +0000 (+0300) Subject: Fix test warning for dropdown, without expectations (#33938) X-Git-Tag: v5.0.1~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d794e8970ba4f4123bd03f186d8eb6ffe60eec12;p=thirdparty%2Fbootstrap.git Fix test warning for dropdown, without expectations (#33938) Co-authored-by: XhmikosR --- diff --git a/js/tests/unit/dropdown.spec.js b/js/tests/unit/dropdown.spec.js index 1c3e8652f3..7121857841 100644 --- a/js/tests/unit/dropdown.spec.js +++ b/js/tests/unit/dropdown.spec.js @@ -1653,6 +1653,7 @@ describe('Dropdown', () => { const input = fixtureEl.querySelector('input') triggerDropdown.addEventListener('hidden.bs.dropdown', () => { + expect().nothing() done() })