(element: HTMLElement)
| 7 | 'scrollTo', |
| 8 | ) |
| 9 | const isList = (element: HTMLElement) => |
| 10 | element.matches( |
| 11 | '.tsqd-queries-overflow-container, .tsqd-mutations-overflow-container, .test-virtual-list', |
| 12 | ) |
| 13 | |
| 14 | // jsdom has no `adoptedStyleSheets`, which the devtools use to add their styles. |
| 15 | for (const prototype of [Document.prototype, ShadowRoot.prototype]) { |