diff --git a/src/rendering/orchestrator/pipeline.behavior.test.ts b/src/rendering/orchestrator/pipeline.behavior.test.ts index d5ac6c8ef8..af376773a5 100644 --- a/src/rendering/orchestrator/pipeline.behavior.test.ts +++ b/src/rendering/orchestrator/pipeline.behavior.test.ts @@ -166,14 +166,8 @@ describe("RenderPipeline behavior", () => { }); it("resolvePageData falls back to candidate extraction when no CSS link in HTML", async () => { - const slug = "/behavior-css-fallback"; - const projectId = "proj-css-fallback"; const pipeline = createPipeline("/project/pages/behavior-css-fallback.tsx"); - // Stub generateTailwindCSS at the pipeline level to prove the fallback path runs - const generatedCss = ".fallback{display:block}"; - let candidatesReceived: string[] | undefined; - (pipeline as any).loadModule = async () => ({}); (pipeline as any).renderPage = async () => ({ html: @@ -193,7 +187,7 @@ describe("RenderPipeline behavior", () => { const { extractCandidates } = await import("#veryfront/html/styles-builder/index.ts"); const html = `
hello
`; - candidatesReceived = extractCandidates(html); + const candidatesReceived = extractCandidates(html); // Verify candidates were actually extracted from the HTML assertEquals(