]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix test warning for dropdown, without expectations (#33938)
authorGeoSot <geo.sotis@gmail.com>
Tue, 11 May 2021 09:54:51 +0000 (12:54 +0300)
committerGitHub <noreply@github.com>
Tue, 11 May 2021 09:54:51 +0000 (12:54 +0300)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
js/tests/unit/dropdown.spec.js

index 1c3e8652f36c0dd02cfe5ff5afaa40357e955a26..7121857841453cd6826d52bf34bc0e3b8468af01 100644 (file)
@@ -1653,6 +1653,7 @@ describe('Dropdown', () => {
       const input = fixtureEl.querySelector('input')
 
       triggerDropdown.addEventListener('hidden.bs.dropdown', () => {
+        expect().nothing()
         done()
       })