]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
tests: replace deprecated jQuery method (#32309)
authorRohit Sharma <rohit2sharma95@gmail.com>
Wed, 16 Dec 2020 15:21:43 +0000 (20:51 +0530)
committerGitHub <noreply@github.com>
Wed, 16 Dec 2020 15:21:43 +0000 (17:21 +0200)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
js/tests/unit/jquery.spec.js

index 6198cdb85170cd82ad2f7395d3cdbd1a3bac0e69..289612df50ce8655b8008052fc7ce55c65b725f8 100644 (file)
@@ -52,6 +52,6 @@ describe('jQuery', () => {
         done()
       })
 
-    $(fixtureEl).find('button').click()
+    $(fixtureEl).find('button').trigger('click')
   })
 })