Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(assistant-ui): add test for chat slot rendering

Steven Enamakelfc606a7b7f64
diff --git a/app/src/features/conversations/components/AssistantUiChat.slots.test.tsx b/app/src/features/conversations/components/AssistantUiChat.slots.test.tsx
index 208618b1d0..b549b272d3 100644
--- a/app/src/features/conversations/components/AssistantUiChat.slots.test.tsx
+++ b/app/src/features/conversations/components/AssistantUiChat.slots.test.tsx
@@ -143,7 +143,9 @@ describe('assistant-ui composer slots', () => {
const store = buildStore();
const onAttachFiles = vi.fn(() => Promise.resolve());
render(
- <Provider store={store}>{chat(undefined, { attachmentsEnabled: true, onAttachFiles })}</Provider>
+ <Provider store={store}>
+ {chat(undefined, { attachmentsEnabled: true, onAttachFiles })}
+ </Provider>
);
const file = new File(['png'], 'shot.png', { type: 'image/png' });