MCPcopy Create free account
hub / github.com/Noumena-Network/code / resetRipgrepStateForTests

Function resetRipgrepStateForTests

src/utils/ripgrep.ts:648–653  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

646}
647
648export function resetRipgrepStateForTests(): void {
649 ;(getRipgrepConfig.cache as { clear?: () => void } | undefined)?.clear?.()
650 ;(testRipgrepOnFirstUse.cache as { clear?: () => void } | undefined)?.clear?.()
651 ripgrepStatus = null
652 alreadyDoneSignCheck = false
653}

Callers 1

ripgrep.test.tsFile · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected