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

Function searchData

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

Source from the content-addressed store, hash-verified

67 }
68
69 function searchData(
70 rendered: ReturnType<typeof renderExplorer>,
71 term: string,
72 ) {
73 fireEvent.input(rendered.getByRole('searchbox', { name: 'Search data' }), {
74 target: { value: term },
75 })
76 vi.advanceTimersByTime(150)
77 }
78
79 function highlightedText() {
80 return [...CSS.highlights.values()].flatMap((highlight) =>

Callers 1

Explorer.test.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected