mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 18:39:20 -05:00
test: remove redundant cap-entry empty-store case
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user