Claude
|
04fe925891
|
test: Add comprehensive test coverage for untested modules
Add tests for previously untested components and services:
- apiKeyService.ts: localStorage operations (14 tests)
- ApiKeyModal.tsx: form validation, submission (22 tests)
- App.tsx: state transitions, error handling (23 tests)
- latexService.ts: API calls, template detection (35 tests)
- latex_service.py: LaTeX escaping, compilation (59 tests)
- server.py: Flask routes, field mapping (38 tests)
Also fix geminiService tests by adding proper apiKeyService mock.
Total new test coverage: 173 TypeScript tests, 97 Python tests
https://claude.ai/code/session_01D4k6b4nUjwfcHMvectsri2
|
2026-01-31 10:33:40 +00:00 |
|
Claude
|
cbacd3430c
|
feat: Add comprehensive test suite for all services and components
- Set up Vitest with testing-library for React component tests
- Add 20 tests for pdfService (field extraction, PDF filling, visual overlay)
- Add 14 tests for geminiService with mocked API responses
- Add 17 tests for FileUpload component (drag-drop, file selection, preview)
- Add 28 tests for ReviewPanel component (rendering, editing, filtering)
- Add 21 Python tests for fill_pdf.py (extraction, filling, CLI)
Total: 100 tests covering critical functionality
https://claude.ai/code/session_01Wi3BtYKgQu6v4zbydtG6Sy
|
2026-01-28 18:52:43 +00:00 |
|