MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / resetSessionStateForTests

Function resetSessionStateForTests

src/utils/sessionState.ts:258–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

256}
257
258export function resetSessionStateForTests(): void {
259 stateListener = null
260 metadataListener = null
261 permissionModeListener = null
262 hasPendingAction = false
263 currentState = 'idle'
264 currentAutomationState = null
265 currentMetadata = {}
266}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected