(el: HTMLElement)
| 226 | }; |
| 227 | |
| 228 | export const hasShadowDom = (el: HTMLElement) => { |
| 229 | return !!el.shadowRoot && !!(el as any).attachShadow; |
| 230 | }; |
| 231 | |
| 232 | export const focusVisibleElement = (el: HTMLElement) => { |
| 233 | el.focus(); |
no outgoing calls
no test coverage detected