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 () => {}),