test: remove low-value custom-root agent-extraction path case

This commit is contained in:
Peter Steinberger 2026-02-16 09:03:07 +00:00
parent 7932387df2
commit 838d875fcb
1 changed files with 0 additions and 13 deletions

View File

@ -68,19 +68,6 @@ describe("session path safety", () => {
),
).toThrow(/within sessions directory/);
});
it("uses extracted agent fallback for custom per-agent store roots", () => {
const mainSessionsDir = "/srv/custom/agents/main/sessions";
const opsSessionFile = "/srv/custom/agents/ops/sessions/abc-123.jsonl";
const resolved = resolveSessionFilePath(
"sess-1",
{ sessionFile: opsSessionFile },
{ sessionsDir: mainSessionsDir },
);
expect(resolved).toBe(path.resolve(opsSessionFile));
});
});
describe("resolveSessionResetPolicy", () => {