test: remove duplicate empty-storePath guard case

This commit is contained in:
Peter Steinberger 2026-02-16 08:34:22 +00:00
parent f6b7736744
commit 6a759c9191
1 changed files with 0 additions and 6 deletions

View File

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