Go to file
google-labs-jules[bot] c0dcccd970 feat: Add comprehensive unit tests for Vue frontend
This commit introduces a suite of unit tests for the Vue.js frontend,
significantly improving code coverage and reliability.

Key areas covered:
- **Setup**: Configured Vitest and @vue/test-utils.
- **Core UI Components**: Added tests for SocialLoginButtons and NotificationDisplay.
- **Pinia Stores**: Implemented tests for auth, notifications, and offline stores,
  including detailed testing of actions, getters, and state management.
  Offline store tests were adapted to its event-driven design.
- **Services**:
  - `api.ts`: Tested Axios client config, interceptors (auth token refresh),
    and wrapper methods.
  - `choreService.ts` & `groupService.ts`: Tested all existing service
    functions for CRUD operations, mocking API interactions.
- **Pages**:
  - `AccountPage.vue`: Tested rendering, data fetching, form submissions
    (profile, password, preferences), and error handling.
  - `ChoresPage.vue`: Tested rendering, chore display (personal & grouped),
    CRUD modals, and state handling (loading, error, empty).
  - `LoginPage.vue`: Verified existing comprehensive tests.

These tests provide a solid foundation for frontend testing. The next planned
step is to enhance E2E tests using Playwright.
2025-05-21 19:07:34 +00:00
.cursor/rules Add FastAPI database transaction management strategy and update requirements 2025-05-20 01:19:37 +02:00
.gitea/workflows end of phase 3 2025-03-30 19:42:32 +02:00
be feat: Implement chore management feature with personal and group chores 2025-05-21 18:18:22 +02:00
fe feat: Add comprehensive unit tests for Vue frontend 2025-05-21 19:07:34 +00:00
docker-compose.yml feat: Implement chore management feature with personal and group chores 2025-05-21 18:18:22 +02:00
mitlist_doc.md feat: Implement chore management feature with personal and group chores 2025-05-21 18:18:22 +02:00