mirror of https://github.com/openclaw/openclaw.git
test: remove redundant cap-entry empty-store case
This commit is contained in:
parent
f349d40e62
commit
f4fbfae97e
|
|
@ -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", () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue