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 (#73004)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
e56480057c
commit
d89512107e
1 changed files with 7 additions and 1 deletions
|
|
@ -1,4 +1,9 @@
|
|||
import { type AppendMessage, AssistantRuntimeProvider, ExportedMessageRepository, type ThreadMessage } from '@assistant-ui/react'
|
||||
import {
|
||||
type AppendMessage,
|
||||
AssistantRuntimeProvider,
|
||||
ExportedMessageRepository,
|
||||
type ThreadMessage
|
||||
} from '@assistant-ui/react'
|
||||
import { act, cleanup, fireEvent, render, screen, waitFor } from '@testing-library/react'
|
||||
import { afterEach, describe, expect, it, vi } from 'vitest'
|
||||
|
||||
|
|
@ -105,6 +110,7 @@ function Harness({ onEdit }: { onEdit: (message: AppendMessage) => Promise<void>
|
|||
describe('edit send arrow — macOS click gesture (blur races cancel)', () => {
|
||||
it('sends without an uncaught "Composer is not available" when the arrow-click blurs the editor', async () => {
|
||||
const uncaught: unknown[] = []
|
||||
|
||||
const onUncaught = (err: unknown) => {
|
||||
uncaught.push(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue