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

Function highlightedText

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

Source from the content-addressed store, hash-verified

67 }
68
69 function highlightedText() {
70 return [...CSS.highlights.values()].flatMap((highlight) =>
71 [...highlight].map((range) => range.toString()),
72 )
73 }
74
75 describe('nested search', () => {
76 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