MCPcopy Create free account
hub / github.com/codeaashu/claude-code / resetProjectFlushStateForTesting

Function resetProjectFlushStateForTesting

src/utils/sessionStorage.ts:473–475  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

471 * This ensures tests don't interfere with each other via shared counter state.
472 */
473export function resetProjectFlushStateForTesting(): void {
474 project?._resetFlushState()
475}
476
477/**
478 * Reset the entire Project singleton for testing.

Callers

nothing calls this directly

Calls 1

_resetFlushStateMethod · 0.80

Tested by

no test coverage detected