The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(ContentSurface): add test for rendering children
Steven Enamakelaa89c8c42b2d
diff --git a/app/src/components/layout/shell/ContentSurface.test.tsx b/app/src/components/layout/shell/ContentSurface.test.tsxindex cb77c624aa..19bb98e1aa 100644--- a/app/src/components/layout/shell/ContentSurface.test.tsx+++ b/app/src/components/layout/shell/ContentSurface.test.tsx@@ -20,8 +20,11 @@ describe('ContentSurface', () => {const surface = screen.getByTestId('app-content-surface');expect(surface.className).toContain('rounded-2xl');expect(surface.className).toContain('shadow-content-edge');- // Even inset on all four sides so the chrome frames the card.- expect(surface.className).toContain('m-3');+ // Inset on three sides. The left edge is deliberately flush: the card butts+ // against the sidebar column, so the shell's gutter is top/right/bottom.+ expect(surface.className).toContain('my-3');+ expect(surface.className).toContain('mr-3');+ expect(surface.className).not.toContain('ml-3');expect(surface.dataset.unframed).toBeUndefined();});