mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
fix(cli): rename browserGpu → browserGpuMode in render.test.ts
Drive-by fix: hf#631 (composition flag) merged with two test calls using `browserGpu: false`, but hf#642 (browserGpuMode auto) merged shortly after and removed that field from RenderOptions in favour of the tri-state `browserGpuMode`. Main has been failing typecheck since hf#642 landed (every PR inherits the failure). Renaming `browserGpu: false` → `browserGpuMode: "software"` matches the new shape; both tests still verify what they were written for (forwards entryFile / omits entryFile to createRenderJob).
This commit is contained in:
@@ -165,7 +165,7 @@ describe("renderLocal browser GPU config", () => {
|
|||||||
quality: "standard",
|
quality: "standard",
|
||||||
format: "mp4",
|
format: "mp4",
|
||||||
gpu: false,
|
gpu: false,
|
||||||
browserGpu: false,
|
browserGpuMode: "software",
|
||||||
hdrMode: "auto",
|
hdrMode: "auto",
|
||||||
quiet: true,
|
quiet: true,
|
||||||
entryFile: "compositions/intro.html",
|
entryFile: "compositions/intro.html",
|
||||||
@@ -181,7 +181,7 @@ describe("renderLocal browser GPU config", () => {
|
|||||||
quality: "standard",
|
quality: "standard",
|
||||||
format: "mp4",
|
format: "mp4",
|
||||||
gpu: false,
|
gpu: false,
|
||||||
browserGpu: false,
|
browserGpuMode: "software",
|
||||||
hdrMode: "auto",
|
hdrMode: "auto",
|
||||||
quiet: true,
|
quiet: true,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user