From d71779b46f59587e3729c024b350cfd147933b7f Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 16 Feb 2026 08:05:26 +0000 Subject: [PATCH] test: remove redundant session-rotation exact-limit case --- src/config/sessions/store.pruning.test.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/config/sessions/store.pruning.test.ts b/src/config/sessions/store.pruning.test.ts index a3ef7c46220..4e92075f67f 100644 --- a/src/config/sessions/store.pruning.test.ts +++ b/src/config/sessions/store.pruning.test.ts @@ -295,14 +295,6 @@ describe("rotateSessionFile", () => { expect(rotated).toBe(false); }); - it("file exactly at maxBytes: no rotation (returns false)", async () => { - await fs.writeFile(storePath, "x".repeat(100), "utf-8"); - - const rotated = await rotateSessionFile(storePath, 100); - - expect(rotated).toBe(false); - }); - it("backup file name includes a timestamp", async () => { await fs.writeFile(storePath, "x".repeat(100), "utf-8"); const before = Date.now();