import { describe, expect, it } from "vitest";
import { createRunPaths } from "@/scripts/human-commit-baseline/paths";

describe("human-commit-baseline paths", () => {
  it("为 runId 生成完整产物路径", () => {
    const p = createRunPaths("abc12345");
    expect(p.root).toContain("human-commit-baseline");
    expect(p.root).toContain("abc12345");
    expect(p.har).toContain("baseline.har");
    expect(p.trace).toContain("trace.zip");
    expect(p.triggerAfterPickup).toContain("after-pickup");
  });
});
