clearPersistedSession function ✓ 100.0%

Last updated: 2026-03-05T11:49:57.418Z

Metrics

LOC: 7 Complexity: 2 Params: 0 Coverage: 100.0% (1/1 lines, 0x executed)

Signature

clearPersistedSession(): : void

Source Code

function clearPersistedSession(): void {
  try {
    sessionStorage.removeItem(RECORDING_SESSION_KEY);
  } catch {
    // ignore
  }
}

No outgoing dependencies.

Impact (Incoming)

graph LR clearPersistedSession["clearPersistedSession"] stopRecording["stopRecording"] clearSession["clearSession"] stopRecording -->|calls| clearPersistedSession clearSession -->|calls| clearPersistedSession style clearPersistedSession fill:#dbeafe,stroke:#2563eb,stroke-width:2px click clearPersistedSession "1bbf0d53387e33bf.html" click stopRecording "26762b7cb59107d8.html" click clearSession "42fbbe12c8b0fcd8.html"
SourceType
stopRecording calls
clearSession calls