RenderPipeline2
Deploy / deploy (push) Failing after 1m52s

This commit is contained in:
twotalesanimation
2026-08-01 15:44:26 +02:00
parent 0d0f3e1a33
commit 9a49cdc6a3
11 changed files with 2626 additions and 1 deletions
+29
View File
@@ -0,0 +1,29 @@
import { describe, expect, it } from "vitest";
import { buildVersionString, deriveOutputBaseName, validateExportManifest } from "./exports";
describe("render export helpers", () => {
it("formats version strings with zero-padding", () => {
expect(buildVersionString(4)).toBe("v004");
expect(buildVersionString(42)).toBe("v042");
});
it("derives the output base name from a frame pattern", () => {
expect(deriveOutputBaseName("UNG_106_010_020_cmp_TT_v004.[####].exr")).toBe(
"UNG_106_010_020_cmp_TT_v004"
);
});
it("rejects invalid manifests", () => {
expect(() =>
validateExportManifest({
shotCode: "UNG_106_010_020",
projectCode: "UNG_S1",
aepPath: "",
compName: "",
frameStart: 1001,
frameEnd: 1000,
fps: 24,
})
).toThrow();
});
});