aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRohit Sharma <[email protected]>2021-03-18 00:55:57 +0530
committerGitHub <[email protected]>2021-03-17 21:25:57 +0200
commit72ef1dfdbd4016d0b4d51343d9ffa48c3530ff63 (patch)
tree0cce97e97a0436453ebee42e9d22df06e7a4983d
parent3ce0a8d3ecc05ac43fa5f5da0c5fc1aaea7742d5 (diff)
downloadbootstrap-72ef1dfdbd4016d0b4d51343d9ffa48c3530ff63.tar.xz
bootstrap-72ef1dfdbd4016d0b4d51343d9ffa48c3530ff63.zip
Update unit tests for Popper V2 (#32662)
-rw-r--r--js/tests/unit/dropdown.spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/unit/dropdown.spec.js b/js/tests/unit/dropdown.spec.js
index b7e771c95..d6fdaca5e 100644
--- a/js/tests/unit/dropdown.spec.js
+++ b/js/tests/unit/dropdown.spec.js
@@ -1112,7 +1112,7 @@ describe('Dropdown', () => {
btnDropdown.addEventListener('shown.bs.dropdown', () => {
// Popper adds this attribute when we use it
- expect(dropdownMenu.getAttribute('x-placement')).toEqual(null)
+ expect(dropdownMenu.getAttribute('data-popper-placement')).toEqual(null)
done()
})