From d9ee342414042bba7bca43438f19d2fba9a54806 Mon Sep 17 00:00:00 2001 From: nousbot-eng Date: Fri, 17 Jul 2026 17:02:05 -0400 Subject: [PATCH] fmt(js): `npm run fix` on merge (#66527) Co-authored-by: github-actions[bot] --- .../src/components/assistant-ui/thread/streaming.test.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/desktop/src/components/assistant-ui/thread/streaming.test.tsx b/apps/desktop/src/components/assistant-ui/thread/streaming.test.tsx index 1bd1fc04bae..c78aeedc6e8 100644 --- a/apps/desktop/src/components/assistant-ui/thread/streaming.test.tsx +++ b/apps/desktop/src/components/assistant-ui/thread/streaming.test.tsx @@ -267,6 +267,7 @@ function StreamingHarness({ onControls }: { onControls?: (controls: StreamingCon setIsRunning(false) } }) + return () => window.clearTimeout(first) } @@ -418,9 +419,11 @@ describe('assistant-ui streaming renderer', () => { it('renders assistant text incrementally before completion', async () => { let controls: StreamingControls | undefined + const registerControls = (next: StreamingControls) => { controls = next } + const { container } = render() expect(screen.getByRole('status', { name: 'Hermes is loading a response' })).toBeTruthy()