The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(desktop): align preview test comment with math-only normalizer
Teknium3701435306ac
diff --git a/apps/desktop/src/app/chat/right-rail/preview-file.test.tsx b/apps/desktop/src/app/chat/right-rail/preview-file.test.tsxindex 5171c3a2a34..84362404609 100644--- a/apps/desktop/src/app/chat/right-rail/preview-file.test.tsx+++ b/apps/desktop/src/app/chat/right-rail/preview-file.test.tsx@@ -4,7 +4,7 @@ import { afterEach, describe, expect, it } from 'vitest'import { MarkdownPreview } from './preview-file'// Behavior tests for the .md file preview renderer: input markdown goes-// through preprocessMarkdown -> Streamdown (+ KaTeX math plugin) and must+// through normalizeFilePreviewMath -> Streamdown (+ KaTeX math plugin) and must// come out as real rendered elements, matching what the chat transcript// renderer produces. Guards the regression where the preview was a bare// Streamdown pass with no math plugin and no table/img/a components.