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
// Imports the header logo and button size classes the way a host app does: by package name.
import { createRoot } from "react-dom/client";
import { act } from "react";
import { describe, expect, it } from "vitest";
import { HyperframesLogo, buttonSizes } from "@hyperframes/studio";
Object.assign(globalThis, { IS_REACT_ACT_ENVIRONMENT: true });
describe("header package exports", () => {
it("mounts the logo mark", async () => {
const el = document.createElement("div");
document.body.append(el);
const root = createRoot(el);
await act(async () => root.render(<HyperframesLogo />));
expect(el.querySelector("svg")).not.toBeNull();
await act(async () => root.unmount());
});
it("exposes the button size classes a host reuses for matching chrome", () => {
expect(buttonSizes.md).toEqual(expect.any(String));
});
});