From: Rohit Sharma Date: Wed, 17 Mar 2021 19:25:57 +0000 (+0530) Subject: Update unit tests for Popper V2 (#32662) X-Git-Tag: v5.0.0-beta3~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72ef1dfdbd4016d0b4d51343d9ffa48c3530ff63;p=thirdparty%2Fbootstrap.git Update unit tests for Popper V2 (#32662) --- diff --git a/js/tests/unit/dropdown.spec.js b/js/tests/unit/dropdown.spec.js index b7e771c950..d6fdaca5ef 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() })