erp-core-backend-v2/src
Adrian Flores Cortes 5ee2023428 [TASK-009] test: Add CRM integration and unit tests
- Add crm-flow.integration.test.ts with complete CRM workflow tests:
  - Lead creation and qualification flow
  - Lead to opportunity conversion
  - Opportunity pipeline stage progression
  - Opportunity won/lost handling
  - Activities and follow-up tracking
  - Edge cases and error handling

- Add activities.service.test.ts with unit tests for:
  - CRUD operations for activities
  - Activity status transitions (scheduled/done/cancelled)
  - Resource linking (leads, opportunities, partners)
  - Activity summary and overdue tracking
  - Follow-up scheduling

- Update helpers.ts with createMockActivity factory

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 18:51:26 -06:00
..
__tests__ [TASK-009] test: Add CRM integration and unit tests 2026-01-26 18:51:26 -06:00
config feat(settings): Add complete backend Settings module 2026-01-26 16:33:55 -06:00
docs Initial commit - erp-core-backend 2026-01-04 06:40:14 -06:00
modules [TASK-009] test: Add CRM integration and unit tests 2026-01-26 18:51:26 -06:00
shared fix: Resolve entity/service field mismatches and build errors (84→19) 2026-01-18 02:27:03 -06:00
app.integration.ts feat(settings): Add complete backend Settings module 2026-01-26 16:33:55 -06:00
app.ts feat(fiscal): Add fiscal module with catalogs (MGN-005) 2026-01-18 09:31:47 -06:00
index.ts Initial commit - erp-core-backend 2026-01-04 06:40:14 -06:00