diff --git a/src/components/ai-edition/VirtualPreview.playback.test.tsx b/src/components/ai-edition/VirtualPreview.playback.test.tsx index 806505030..66a08bbd1 100644 --- a/src/components/ai-edition/VirtualPreview.playback.test.tsx +++ b/src/components/ai-edition/VirtualPreview.playback.test.tsx @@ -3,6 +3,7 @@ import "@testing-library/jest-dom"; import { act, cleanup, fireEvent, render } from "@testing-library/react"; import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; import type { AxcutClip, AxcutTrimRange } from "@/lib/ai-edition/schema"; +import type { SpeedRegion } from "@/lib/ai-edition/timeline/speed"; import { type VideoSource, VirtualPreview } from "./VirtualPreview"; // The rAF tick is the whole subject here, so it is driven by hand rather than by the @@ -384,3 +385,303 @@ describe("VirtualPreview imported audio track boost", () => { expect(audioEl.volume).toBe(1); // volume left at unity so it doesn't double-attenuate }); }); + +// The recording's sound is a second element over the same file: a muted