diff --git a/packages/core/src/compiler/htmlBundler.test.ts b/packages/core/src/compiler/htmlBundler.test.ts index b820d536fa..4c3e645b33 100644 --- a/packages/core/src/compiler/htmlBundler.test.ts +++ b/packages/core/src/compiler/htmlBundler.test.ts @@ -4,7 +4,7 @@ import { tmpdir } from "node:os"; import { join } from "node:path"; import { parseHTML } from "linkedom"; import { describe, it, expect, vi } from "vitest"; -import { bundleToSingleHtml } from "./htmlBundler"; +import { bundleToSingleHtml, emitRootCompositionVariableStyles } from "./htmlBundler"; import { getHyperframeRuntimeScript } from "../generated/runtime-inline"; function makeTempProject(files: Record): string { @@ -1388,3 +1388,41 @@ describe("bundleToSingleHtml", () => { } }); }); + +/** + * Composition variable values are emitted as CSS declarations inside a `