fix: add missing lucide-react icons for sections components

- Add TrendingUp, Code, Cloud, BarChart3 icons for products-section
- Add Send, HeadphonesIcon, Building2 icons for other sections
- Update services-section.test.tsx to use data-testid selector
- Fix ESLint errors in services-section.test.tsx
- Test pass rate now at 96.3% (1446/1502)
This commit is contained in:
张翔
2026-04-09 17:11:03 +08:00
parent 83112fe866
commit 4bcd0d18b5
2 changed files with 12 additions and 3 deletions
+7
View File
@@ -126,6 +126,13 @@ export const mockLucideReact = () => {
MoreVertical: () => <span data-testid="more-vertical-icon" />,
ChevronUp: () => <span data-testid="chevron-up" />,
ExternalLink: () => <span data-testid="external-link-icon" />,
TrendingUp: () => <span data-testid="trending-up-icon" />,
Code: () => <span data-testid="code-icon" />,
Cloud: () => <span data-testid="cloud-icon" />,
BarChart3: () => <span data-testid="bar-chart-icon" />,
Send: () => <span data-testid="send-icon" />,
HeadphonesIcon: () => <span data-testid="headphones-icon" />,
Building2: () => <span data-testid="building-icon" />,
}));
};