onHashChange function ✓ 100.0%
Last updated: 2026-03-05T11:49:57.418Z
Metrics
LOC: 11
Complexity: 3
Params: 0
Coverage: 100.0% (2/2 lines, 0x executed)
Signature
onHashChange(): : void
Source Code
function onHashChange(): void {
if (!session || session.status !== "recording") return;
addStep({
type: "wait-for-url",
timestamp: now(),
url: window.location.href,
value: window.location.hash,
label: "URL hash changed",
});
}