mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 17:18:25 +00:00
test(config): use lightweight clear in session pruning e2e setup
This commit is contained in:
@@ -62,7 +62,7 @@ describe("Integration: saveSessionStore with pruning", () => {
|
|||||||
savedCacheTtl = process.env.OPENCLAW_SESSION_CACHE_TTL_MS;
|
savedCacheTtl = process.env.OPENCLAW_SESSION_CACHE_TTL_MS;
|
||||||
process.env.OPENCLAW_SESSION_CACHE_TTL_MS = "0";
|
process.env.OPENCLAW_SESSION_CACHE_TTL_MS = "0";
|
||||||
clearSessionStoreCacheForTest();
|
clearSessionStoreCacheForTest();
|
||||||
mockLoadConfig.mockReset();
|
mockLoadConfig.mockClear();
|
||||||
});
|
});
|
||||||
|
|
||||||
afterEach(() => {
|
afterEach(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user