The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.
TypeScript agent-skillsagentic-aiai-agentsai-videobyokclaude-codecodexdeepseek-harnessdsh-plugingenerative-ailocal-firstmcpmotionmotion-graphicsmultimodalopenmotionreverse-engineeringvideo-editingvideo-generationworkbuddy
// @vitest-environment happy-dom
import { act } from "react";
import { afterEach, expect, it } from "vitest";
import { mountThreeTrackTimeline } from "./timelineMountFixtures";
import { installTimelineMountEnv } from "./timelineMountTestEnv";
import { isTimelineMoving } from "./timelineMotion";
(globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true;
installTimelineMountEnv();
afterEach(() => {
document.body.innerHTML = "";
});
it("keeps the timeline at rest through a scroll, as playback follow makes every frame", async () => {
const { root, viewport } = await mountThreeTrackTimeline();
act(() => viewport.dispatchEvent(new Event("scroll")));
expect(isTimelineMoving()).toBe(false);
act(() => root.unmount());
});