Files
dify/web/app/components/explore
CodingOnStar 5b960eb0d7 test: add comprehensive tests for banner components with 95%+ coverage
Add automated tests for all components in the explore/banner folder:
- banner.tsx: 100% coverage
- banner-item.tsx: 98.24% statement coverage
- indicator-button.tsx: 97.05% statement coverage

Tests cover:
- Loading, error, and empty states for Banner component
- Hover and resize behaviors with debounce
- Responsive layout behavior
- Animation and progress indicator functionality
- Click handling and navigation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 17:05:03 +08:00
..
2025-12-24 14:45:33 +08:00