MCPcopy Create free account
hub / github.com/TanStack/query / isList

Function isList

packages/query-devtools/test-setup.ts:9–12  ·  view source on GitHub ↗
(element: HTMLElement)

Source from the content-addressed store, hash-verified

7 'scrollTo',
8)
9const 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.
15for (const prototype of [Document.prototype, ShadowRoot.prototype]) {

Callers 1

test-setup.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected