Skip to content

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

test(thread): simplify assertion formatting in connection state test

Steven Enamakel7eeb63611bc8
diff --git a/app/src/components/assistant-ui/thread.connectionState.test.tsx b/app/src/components/assistant-ui/thread.connectionState.test.tsx
index feff4a9fad..6eb9dd5719 100644
--- a/app/src/components/assistant-ui/thread.connectionState.test.tsx
+++ b/app/src/components/assistant-ui/thread.connectionState.test.tsx
@@ -46,8 +46,6 @@ describe('thread connection-state banner', () => {
const banner = screen.getByTestId('connection-state-banner');
const composer = container.querySelector('.aui-composer-root');
expect(composer).not.toBeNull();
- expect(banner.compareDocumentPosition(composer as Node)).toBe(
- Node.DOCUMENT_POSITION_FOLLOWING
- );
+ expect(banner.compareDocumentPosition(composer as Node)).toBe(Node.DOCUMENT_POSITION_FOLLOWING);
});
});