mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
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:
parent
597615ade4
commit
d9ee342414
1 changed files with 3 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue