From 83a5f7ba8c2bc3e706505cd5902601fba4949cfd Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 16 Feb 2026 08:35:14 +0000 Subject: [PATCH] test: remove duplicate passthrough storePath guard case --- src/config/sessions/sessions.test.ts | 7 ------- 1 file changed, 7 deletions(-) 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", () => {