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

Function highlightedText

packages/query-devtools/src/__tests__/Explorer.test.tsx:79–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77 }
78
79 function highlightedText() {
80 return [...CSS.highlights.values()].flatMap((highlight) =>
81 [...highlight].map((range) => range.toString()),
82 )
83 }
84
85 describe('nested search', () => {
86 it('bounds the number of native ranges for a repeated match', () => {

Callers 1

Explorer.test.tsxFile · 0.85

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected