test(config): use lightweight clear in session pruning e2e setup

This commit is contained in:
Peter Steinberger
2026-02-22 08:30:47 +00:00
parent e67f813b0e
commit ce09fe2bb7

View File

@@ -62,7 +62,7 @@ describe("Integration: saveSessionStore with pruning", () => {
savedCacheTtl = process.env.OPENCLAW_SESSION_CACHE_TTL_MS;
process.env.OPENCLAW_SESSION_CACHE_TTL_MS = "0";
clearSessionStoreCacheForTest();
mockLoadConfig.mockReset();
mockLoadConfig.mockClear();
});
afterEach(() => {