test: remove redundant cap-entry empty-store case

This commit is contained in:
Peter Steinberger
2026-02-16 08:07:35 +00:00
parent f349d40e62
commit f4fbfae97e

View File

@@ -210,14 +210,6 @@ describe("capEntryCount", () => {
expect(store["key-0"]).toBeDefined();
expect(store["key-500"]).toBeUndefined();
});
it("empty store is a no-op", () => {
const store: Record<string, SessionEntry> = {};
const evicted = capEntryCount(store, 5);
expect(evicted).toBe(0);
});
});
describe("rotateSessionFile", () => {