aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRohit Sharma <[email protected]>2020-12-16 20:51:43 +0530
committerGitHub <[email protected]>2020-12-16 17:21:43 +0200
commitf12657b39ff9c8ba2826b01a1690ed57db14e684 (patch)
tree21de039b6130599d072438c7fb576170be747bbe
parent29e4eb91c16411690f8b4a73adcfdb037752c60c (diff)
downloadbootstrap-f12657b39ff9c8ba2826b01a1690ed57db14e684.tar.xz
bootstrap-f12657b39ff9c8ba2826b01a1690ed57db14e684.zip
tests: replace deprecated jQuery method (#32309)
Co-authored-by: XhmikosR <[email protected]>
-rw-r--r--js/tests/unit/jquery.spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/unit/jquery.spec.js b/js/tests/unit/jquery.spec.js
index 6198cdb85..289612df5 100644
--- a/js/tests/unit/jquery.spec.js
+++ b/js/tests/unit/jquery.spec.js
@@ -52,6 +52,6 @@ describe('jQuery', () => {
done()
})
- $(fixtureEl).find('button').click()
+ $(fixtureEl).find('button').trigger('click')
})
})