mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 10:28:10 +08:00
test: add unit tests for base-components-part-2 (#32409)
This commit is contained in:
@ -47,6 +47,7 @@ const ImageGallery: FC<Props> = ({
|
||||
style={imgStyle}
|
||||
src={src}
|
||||
alt=""
|
||||
data-testid="gallery-image" // Added for testing
|
||||
onClick={() => setImagePreviewUrl(src)}
|
||||
onError={e => e.currentTarget.remove()}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user