The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(desktop): add a positive control to the social embed origin test
kshitijk4poor72d835070796
diff --git a/apps/desktop/src/components/assistant-ui/embeds/social-embed.test.tsx b/apps/desktop/src/components/assistant-ui/embeds/social-embed.test.tsxindex 99f09fea6cd..0d2b1dafef3 100644--- a/apps/desktop/src/components/assistant-ui/embeds/social-embed.test.tsx+++ b/apps/desktop/src/components/assistant-ui/embeds/social-embed.test.tsx@@ -57,5 +57,10 @@ describe('SocialEmbedRenderer', () => {post(frame, 'https://www.instagram.com', measure, window)expect(frame.style.height).toBe('450px')++ // Positive control: the same message from the frame's own origin and window resizes it.+ post(frame, 'https://www.instagram.com', measure)++ expect(frame.style.height).toBe('999px')})})