test: add unit tests for base-components-part-2 (#32409)

This commit is contained in:
Poojan
2026-02-24 12:04:48 +05:30
committed by GitHub
parent f923901d3f
commit 657eeb65b8
15 changed files with 1253 additions and 3 deletions

View File

@ -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()}
/>