diff --git a/src/config/sessions/sessions.test.ts b/src/config/sessions/sessions.test.ts index 3e2c41eeb..7a5486c7e 100644 --- a/src/config/sessions/sessions.test.ts +++ b/src/config/sessions/sessions.test.ts @@ -12,7 +12,6 @@ import { updateSessionStore, updateSessionStoreEntry, } from "../sessions.js"; -import { withSessionStoreLockForTest } from "../sessions.js"; import { deriveSessionMetaPatch } from "./metadata.js"; import { resolveSessionFilePath, @@ -480,12 +479,6 @@ describe("withSessionStoreLock storePath guard (#14717)", () => { updateSessionStoreUnsafe(undefined as unknown as string, (store) => store), ).rejects.toThrow("withSessionStoreLock: storePath must be a non-empty string"); }); - - it("withSessionStoreLockForTest also throws descriptive error when storePath is undefined", async () => { - await expect( - withSessionStoreLockForTest(undefined as unknown as string, async () => {}), - ).rejects.toThrow("withSessionStoreLock: storePath must be a non-empty string"); - }); }); describe("resolveMirroredTranscriptText", () => {