commit bd5081a5a0396b60da4e2c3d69d7462cfd38e829
parent a756154f67b26cf2c9f91d5e273ae2f6d7b446ef
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Tue, 6 Oct 2026 12:13:31 -0400
editor: the chore-card pin leaves the transcript reader out (it lives in ./cards, and is read, never run)
main's multi-track merge added TranscriptTracksReader to VideoPanel from
./cards, and the "every card VideoPanel imports from ./cards is listed" pin
failed on main.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/editor/app/channels/[slug]/videos/[id]/lib/videoChoreCards.test.ts b/editor/app/channels/[slug]/videos/[id]/lib/videoChoreCards.test.ts
@@ -33,9 +33,15 @@ test("VideoPanel renders exactly the listed cards, in list order", () => {
assert.deepEqual(rendered, listed);
});
+// What lives in ./cards but is not a chore: the transcript reader with its
+// track switcher (multi-track captions) is read, never run.
+const NOT_CHORES = new Set(["TranscriptTracksReader"]);
+
test("every card VideoPanel imports from ./cards is listed", () => {
const imported = [
...panelSrc.matchAll(/^import \{ (\w+)(?:, type \w+)? \} from "\.\/cards\/\w+";$/gm),
- ].map((m) => m[1]);
+ ]
+ .map((m) => m[1])
+ .filter((name) => !NOT_CHORES.has(name));
assert.deepEqual([...imported].sort(), [...listed].sort());
});