Update unit tests for Popper V2 (#32662)

This commit is contained in:
Rohit Sharma 2021-03-18 00:55:57 +05:30 committed by GitHub
parent 3ce0a8d3ec
commit 72ef1dfdbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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()
})