fix: add missing lucide-react icons for mobile-tab-bar

- Add Briefcase and Package icons
- Update mobile-tab-bar.test.tsx to use data-testid selector
- Fix ESLint errors in mobile-tab-bar.test.tsx
- Test pass rate now at 97.3% (1462/1502)
This commit is contained in:
张翔
2026-04-09 17:16:19 +08:00
parent 4bcd0d18b5
commit a86231fb9a
2 changed files with 7 additions and 3 deletions
+2
View File
@@ -109,6 +109,8 @@ export const mockLucideReact = () => {
LogOut: () => <span data-testid="logout-icon" />,
Home: () => <span data-testid="home-icon" />,
FileText: () => <span data-testid="file-text-icon" />,
Briefcase: () => <span data-testid="briefcase-icon" />,
Package: () => <span data-testid="package-icon" />,
Image: () => <span data-testid="image-icon" />,
Save: () => <span data-testid="save-icon" />,
Trash2: () => <span data-testid="trash-icon" />,