test: pin defense qna branch navigation

This commit is contained in:
lda
2026-07-08 07:16:12 +07:00 Verified
parent 2c23619dd2
commit 32a2e2397d
2 changed files with 29 additions and 0 deletions
@@ -15,6 +15,12 @@ describe("storyboard navigation", () => {
kind: "discussion",
branchId: "hosted-automation",
});
expect(locationFromHash("#discuss/where-is-ai-agent")).toEqual({
kind: "discussion",
branchId: "where-is-ai-agent",
});
expect(hashForLocation({ kind: "discussion", branchId: "where-is-ai-agent" }))
.toBe("#discuss/where-is-ai-agent");
});
it("falls back for unknown scene, beat, and branch hashes", () => {