From 6a759c919166eb5bcb098b2c063db9dd5d9ac893 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 16 Feb 2026 08:34:22 +0000 Subject: [PATCH] test: remove duplicate empty-storePath guard case --- src/config/sessions/sessions.test.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/config/sessions/sessions.test.ts b/src/config/sessions/sessions.test.ts index cd4f6d1b7f6..3e2c41eebe3 100644 --- a/src/config/sessions/sessions.test.ts +++ b/src/config/sessions/sessions.test.ts @@ -481,12 +481,6 @@ describe("withSessionStoreLock storePath guard (#14717)", () => { ).rejects.toThrow("withSessionStoreLock: storePath must be a non-empty string"); }); - it("throws descriptive error when storePath is empty string", async () => { - await expect(updateSessionStoreUnsafe("", (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 () => {}),