Commit Graph

3 Commits

Author SHA1 Message Date
25f6625c4f test: add comprehensive dashboard component tests
- Configure vitest with jsdom environment for React component testing
- Add comprehensive tests for TopQuestionsChart component (6 tests)
- Add comprehensive tests for TranscriptViewer component (7 tests)
- Mock all necessary dependencies (ReactMarkdown, shadcn/ui components)
- All 13 component tests passing successfully
- GeographicMap excluded due to react-leaflet test environment issues
2025-07-12 00:27:48 +02:00
7f48a085bf feat: comprehensive security and architecture improvements
- Add Zod validation schemas with strong password requirements (12+ chars, complexity)
- Implement rate limiting for authentication endpoints (registration, password reset)
- Remove duplicate MetricCard component, consolidate to ui/metric-card.tsx
- Update README.md to use pnpm commands consistently
- Enhance authentication security with 12-round bcrypt hashing
- Add comprehensive input validation for all API endpoints
- Fix security vulnerabilities in user registration and password reset flows

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-28 01:52:53 +02:00
49a75f5ede Migrate tests from Jest to Vitest, updating setup and test files accordingly.
- Replace Jest imports and mocks with Vitest equivalents in setup and unit tests.
- Adjust test cases to use async imports and reset modules with Vitest.
- Add Vitest configuration file for test environment setup and coverage reporting.
2025-06-27 19:14:05 +02:00