Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(desktop): 适配 voiceInputButtonAnchor 测试的多行 sendButtonRef span

Shinkufb0f0e7868ca
diff --git a/apps/desktop/src/renderer/__tests__/voiceInputButtonAnchor.test.ts b/apps/desktop/src/renderer/__tests__/voiceInputButtonAnchor.test.ts
index 10f4bfd1da..5a0c832b0e 100644
--- a/apps/desktop/src/renderer/__tests__/voiceInputButtonAnchor.test.ts
+++ b/apps/desktop/src/renderer/__tests__/voiceInputButtonAnchor.test.ts
@@ -19,7 +19,7 @@ describe('ChatInput voice button anchor contract', () => {
const buttonGroupBlock = extractBetween(
chatInputSource,
'{showSecondaryStop && (',
- '<span ref={sendButtonRef}',
+ 'ref={sendButtonRef}',
);
it('renders the secondary stop button to the left of the voice input button', () => {