fmt(js): npm run fix on merge (#66527)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
nousbot-eng 2026-07-17 17:02:05 -04:00 committed by GitHub
parent 597615ade4
commit d9ee342414
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(<StreamingHarness onControls={registerControls} />)
expect(screen.getByRole('status', { name: 'Hermes is loading a response' })).toBeTruthy()