You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
517 B
14 lines
517 B
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");
|
|
});
|
|
});
|