Skip to content

Commit

Permalink
Clarify element.style usage
Browse files Browse the repository at this point in the history
  • Loading branch information
tyxla committed Nov 18, 2022
1 parent 85d318d commit 6c63bc5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ function getWrappingPopoverElement( element ) {
* Asserts that the specified popover has already been positioned.
* Necessary because it will be positioned a bit later after it's displayed.
*
* We're intentionally not using `.toHaveStyle()` because we want to be
* less specific and avoid specific values for better test flexibility.
*
* @async
*
* @param {HTMLElement} popover Popover element.
Expand Down

0 comments on commit 6c63bc5

Please sign in to comment.