fix(web): align outline close button styling (#1150)

This commit is contained in:
Ananovo
2026-07-28 16:57:31 +08:00
committed by GitHub
parent f0e7e6ad20
commit ec12c97aec
2 changed files with 7 additions and 4 deletions
@@ -121,7 +121,9 @@ describe('ConversationOutlinePanel', () => {
const onClose = vi.fn()
renderPanel({ onClose })
fireEvent.click(screen.getByRole('button', { name: 'Close' }))
const closeButton = screen.getByRole('button', { name: 'Close' })
expect(closeButton).toHaveClass('border', 'rounded-md', 'h-9', 'w-9')
fireEvent.click(closeButton)
expect(onClose).toHaveBeenCalledTimes(1)
})