test: remove low-value session-file options wrapper assertion

This commit is contained in:
Peter Steinberger
2026-02-16 08:43:56 +00:00
parent 025d4152d1
commit 2d6b605cc3

View File

@@ -15,7 +15,6 @@ import {
import { deriveSessionMetaPatch } from "./metadata.js"; import { deriveSessionMetaPatch } from "./metadata.js";
import { import {
resolveSessionFilePath, resolveSessionFilePath,
resolveSessionFilePathOptions,
resolveSessionTranscriptPathInDir, resolveSessionTranscriptPathInDir,
resolveStorePath, resolveStorePath,
validateSessionId, validateSessionId,
@@ -155,17 +154,6 @@ describe("session path safety", () => {
expect(resolved).toBe(path.resolve(opsSessionFile)); expect(resolved).toBe(path.resolve(opsSessionFile));
}); });
it("keeps custom per-agent store roots when agentId is provided", () => {
const opts = resolveSessionFilePathOptions({
storePath: "/srv/custom/agents/ops/sessions/sessions.json",
agentId: "ops",
});
expect(opts).toEqual({
sessionsDir: path.resolve("/srv/custom/agents/ops/sessions"),
agentId: "ops",
});
});
}); });
describe("resolveSessionResetPolicy", () => { describe("resolveSessionResetPolicy", () => {