veza/apps/web/src/services
senke 6de6a0d499 [FE-TEST-001] fe-test: Add unit tests for API services
- Created comprehensive unit tests for marketplaceService (11 tests)
- Created comprehensive unit tests for profileService (12 tests)
- Created comprehensive unit tests for avatarService (9 tests)
- Created comprehensive unit tests for 2fa-service (8 tests)
- All 40 tests pass successfully
- Tests cover success cases, error handling, edge cases, and validation scenarios

Files modified:
- apps/web/src/services/marketplaceService.test.ts (new)
- apps/web/src/features/profile/services/profileService.test.ts (new)
- apps/web/src/features/profile/services/avatarService.test.ts (new)
- apps/web/src/services/2fa-service.test.ts (new)
- VEZA_COMPLETE_MVP_TODOLIST.json
2025-12-25 15:55:53 +01:00
..
api [INT-016] int: Add authentication token refresh flow 2025-12-25 15:45:30 +01:00
2fa-service.test.ts [FE-TEST-001] fe-test: Add unit tests for API services 2025-12-25 15:55:53 +01:00
2fa-service.ts [FE-API-001] frontend-api: Enable 2FA service calls when backend is ready 2025-12-23 01:45:47 +01:00
csrf.ts fix(MVP-006): Standardize environment variable names (VITE_API_BASE_URL → VITE_API_URL) 2025-12-22 22:56:37 +01:00
marketplaceService.test.ts [FE-TEST-001] fe-test: Add unit tests for API services 2025-12-25 15:55:53 +01:00
marketplaceService.ts [FE-PAGE-006] fe-page: Complete Marketplace page implementation 2025-12-24 12:54:20 +01:00
offline-storage.ts refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00
offlineQueue.ts [FE-API-015] fe-api: Add offline support 2025-12-25 13:24:19 +01:00
pwa.ts refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00
requestDeduplication.ts [FE-API-016] fe-api: Add request deduplication 2025-12-25 13:26:27 +01:00
responseCache.ts [FE-API-017] fe-api: Add request caching 2025-12-25 13:29:43 +01:00
secure-auth.ts fix(MVP-006): Standardize environment variable names (VITE_API_BASE_URL → VITE_API_URL) 2025-12-22 22:56:37 +01:00
tokenRefresh.test.ts refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00
tokenRefresh.ts [INT-016] int: Add authentication token refresh flow 2025-12-25 15:45:30 +01:00
tokenStorage.test.ts refonte: backend-api go first; phase 1 2025-12-12 21:34:34 -05:00
tokenStorage.ts fix(MVP-006): Standardize environment variable names (VITE_API_BASE_URL → VITE_API_URL) 2025-12-22 22:56:37 +01:00
websocket.ts stabilizing apps/web: FIRST BATCH 2025-12-17 08:07:35 -05:00