commit 1e00b6b1fb219c484078199326cf8818101e8262
parent 78fdd1a71a5a95d1f726298f49420feac2f1047d
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Sat, 14 Nov 2026 08:44:29 -0500
Merge lane/clip-kit-2 (test): the look-settings sentence in the video-assistant test is built from the settings list itself, so a new look setting cannot break it
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/common/lib/report/draft/videoOps.test.ts b/common/lib/report/draft/videoOps.test.ts
@@ -6,6 +6,7 @@ import assert from "node:assert/strict";
import { readFile } from "node:fs/promises";
import path from "node:path";
import { fileURLToPath } from "node:url";
+import { LOOK_KEYS } from "../look.mjs";
import { applyVideoOps, chaptersNamedBy, chaptersOf, cutView, trimmedCutView, TRIM_SLACK_SECONDS, type VideoManifest } from "./videoOps";
const DRAFT = path.join(path.dirname(fileURLToPath(import.meta.url)), "../../../testing/draft");
@@ -169,7 +170,8 @@ test("the look ops (release 38): look, slide and room through the look's own rul
assert.match(r.applied[1]!.warnings![0]!, /the slide's knobs show once the join style is blur slide/);
assert.deepEqual(
r.refused.map((x) => x.why),
- ["render.transition must be a number of seconds from 0 (a hard cut) to 3", '"chrome" is not a look setting (headerHeight, footerHeight, qr, transition, transitionStyle, loudness, captions, room, slide, blur, intro, format, vertical, mode, basic, tallWindows)'],
+ // The list is the product's own (look.mjs LOOK_KEYS), never a copy that rots when a look key is added.
+ ["render.transition must be a number of seconds from 0 (a hard cut) to 3", `"chrome" is not a look setting (${LOOK_KEYS.join(", ")})`],
);
assert.equal((manifest.render as { transition: number }).transition, 0.4, "the input is not touched");
});