test: remove redundant transcript-path wrapper case
This commit is contained in:
@@ -16,7 +16,6 @@ import { deriveSessionMetaPatch } from "./metadata.js";
|
||||
import {
|
||||
resolveSessionFilePath,
|
||||
resolveSessionFilePathOptions,
|
||||
resolveSessionTranscriptPath,
|
||||
resolveSessionTranscriptPathInDir,
|
||||
resolveStorePath,
|
||||
validateSessionId,
|
||||
@@ -157,11 +156,6 @@ describe("session path safety", () => {
|
||||
expect(resolved).toBe(path.resolve(opsSessionFile));
|
||||
});
|
||||
|
||||
it("uses agent sessions dir fallback for transcript path", () => {
|
||||
const resolved = resolveSessionTranscriptPath("sess-1", "main");
|
||||
expect(resolved.endsWith(path.join("agents", "main", "sessions", "sess-1.jsonl"))).toBe(true);
|
||||
});
|
||||
|
||||
it("keeps custom per-agent store roots when agentId is provided", () => {
|
||||
const opts = resolveSessionFilePathOptions({
|
||||
storePath: "/srv/custom/agents/ops/sessions/sessions.json",
|
||||
|
||||
Reference in New Issue
Block a user