diff --git a/src/config/sessions/sessions.test.ts b/src/config/sessions/sessions.test.ts index dd18ea50d..89943fad7 100644 --- a/src/config/sessions/sessions.test.ts +++ b/src/config/sessions/sessions.test.ts @@ -20,7 +20,6 @@ import { validateSessionId, } from "./paths.js"; import { resolveSessionResetPolicy } from "./reset.js"; -import { updateSessionStore as updateSessionStoreUnsafe } from "./store.js"; import { appendAssistantMessageToSessionTranscript, resolveMirroredTranscriptText, @@ -390,14 +389,6 @@ describe("session store lock (Promise chain mutex)", () => { }); }); -describe("withSessionStoreLock storePath guard (#14717)", () => { - it("throws descriptive error when storePath is undefined", async () => { - await expect( - updateSessionStoreUnsafe(undefined as unknown as string, (store) => store), - ).rejects.toThrow("withSessionStoreLock: storePath must be a non-empty string"); - }); -}); - describe("resolveMirroredTranscriptText", () => { it("prefers media filenames over text", () => { const result = resolveMirroredTranscriptText({