import { describe, expect, it } from "vitest"; import { compileHtml } from "./htmlCompiler.js"; describe("compileHtml", () => { it("preserves explicit looped media durations that exceed source duration", async () => { const html = '