- Focus on business-critical paths - What breaks the product if it fails?
- Test contracts, not implementation - APIs and interfaces matter most
- Security and reliability over UI polish - Investors care about robustness
- Integration over unit tests - Real-world scenarios matter more
Keep these API tests:
auth-login.test.ts- Authentication is criticalauth-wallet.test.ts- Wallet auth is unique differentiatordownload.test.ts- Core business functionsnapshots.test.ts- Core data accessbandwidth-status.test.ts- Tier managementhealth.test.ts- Operational monitoringmetrics.test.ts- Observability
Remove these API tests:
avatar.test.ts,avatar-simple.test.ts- Not business criticalrum.test.ts- Nice-to-have monitoringtest-error.test.ts- Development utility- Duplicate auth tests (keep one comprehensive auth test)
Keep:
download-flow.test.ts- End-to-end critical pathauth-flow.test.ts- User journey- Core nginx operations tests
Remove:
- UI integration tests for non-critical flows
Keep:
- URL signing and validation
- Rate limiting
- Authentication/authorization
- Input validation
- Database operations
Keep:
- Bandwidth calculation and enforcement
- Download tracking
- User tier management
- Session management
Keep only:
DownloadButton.test.tsx- Core interactionChainList.test.tsx- Main navigation- Auth components that handle security
Remove all:
- Skeleton components
- Loading states
- Simple display components
- Layout tests
- Error page tests
UserAvatar.test.tsxUserDropdown.test.tsxMobileMenu.test.tsxHeader.test.tsxSnapshotItem.test.tsxChainCard.test.tsxChainCardSkeleton.test.tsxFilterChips.test.tsxCountdownTimer.test.tsxKeyboardShortcutsModal.test.tsx- All layout and loading tests
- Simple logger tests
- Basic middleware wrappers
- Error page tests
- Test helper tests
- Mock tests
- Security - Are user downloads protected? Is authentication solid?
- Reliability - Does the core download flow work consistently?
- Performance - Can it handle load? (Separate load tests)
- Monitoring - Can you detect and respond to issues?
- Code Quality - Is the testing strategic, not just high coverage?
- Overall: 70-80% (not 100%)
- Critical paths: 95%+
- UI Components: 30-40%
- Business Logic: 90%+
- Remove all trivial UI component tests
- Consolidate duplicate API tests
- Ensure critical paths have integration tests
- Add any missing security tests
- Update CI to run only essential tests