diff --git a/packages/core/src/lint/hyperframeLinter.test.ts b/packages/core/src/lint/hyperframeLinter.test.ts index e8dbaf35d..7285dca30 100644 --- a/packages/core/src/lint/hyperframeLinter.test.ts +++ b/packages/core/src/lint/hyperframeLinter.test.ts @@ -1,7 +1,7 @@ import { describe, it, expect, vi } from "vitest"; import { lintHyperframeHtml, lintScriptUrls } from "./hyperframeLinter.js"; -describe("lintHyperframeHtml", () => { +describe("lintHyperframeHtml — orchestrator", () => { const validComposition = `
@@ -24,72 +24,6 @@ describe("lintHyperframeHtml", () => { expect(result.errorCount).toBe(0); }); - it("reports error when root is missing data-composition-id", () => { - const html = ` - - - -`; - const result = lintHyperframeHtml(html); - const finding = result.findings.find((f) => f.code === "root_missing_composition_id"); - expect(finding).toBeDefined(); - expect(finding?.severity).toBe("error"); - }); - - it("reports error when root is missing data-width or data-height", () => { - const html = ` - - - -`; - const result = lintHyperframeHtml(html); - const finding = result.findings.find((f) => f.code === "root_missing_dimensions"); - expect(finding).toBeDefined(); - expect(finding?.severity).toBe("error"); - }); - - it("reports error when timeline registry is missing", () => { - const html = ` - - - -`; - const result = lintHyperframeHtml(html); - const finding = result.findings.find((f) => f.code === "missing_timeline_registry"); - expect(finding).toBeDefined(); - }); - - it("reports error for duplicate media ids", () => { - const html = ` - -Content
-Content
-Content
+Content
+