mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
fix(web): align outline close button styling (#1150)
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user