Skip to content

Commit

Permalink
Update unit tests for Popper V2 (#32662)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit2sharma95 committed Mar 17, 2021
1 parent 3ce0a8d commit 72ef1df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/tests/unit/dropdown.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})

Expand Down

0 comments on commit 72ef1df

Please sign in to comment.