]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update unit tests for Popper V2 (#32662)
authorRohit Sharma <rohit2sharma95@gmail.com>
Wed, 17 Mar 2021 19:25:57 +0000 (00:55 +0530)
committerGitHub <noreply@github.com>
Wed, 17 Mar 2021 19:25:57 +0000 (21:25 +0200)
js/tests/unit/dropdown.spec.js

index b7e771c950415a120988c509b5a109fb72b45a18..d6fdaca5efbb9ed6f7ba157aa9be1d93d6f11f68 100644 (file)
@@ -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()
       })