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

Function searchData

packages/query-devtools/src/__tests__/Explorer.test.tsx:59–67  ·  view source on GitHub ↗
(
    rendered: ReturnType<typeof renderExplorer>,
    term: string,
  )

Source from the content-addressed store, hash-verified

57 }
58
59 function searchData(
60 rendered: ReturnType<typeof renderExplorer>,
61 term: string,
62 ) {
63 fireEvent.input(rendered.getByRole('searchbox', { name: 'Search data' }), {
64 target: { value: term },
65 })
66 vi.advanceTimersByTime(150)
67 }
68
69 function highlightedText() {
70 return [...CSS.highlights.values()].flatMap((highlight) =>

Callers 1

Explorer.test.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected