Adrian Flores Cortes
|
0ff4089b71
|
feat: P2+P3 - Tests y servicios faltantes (TASK-006)
P2 - Tests unitarios creados (5 archivos):
- carta-porte/__tests__/carta-porte.service.spec.ts
- auth/__tests__/roles.service.spec.ts
- auth/__tests__/permissions.service.spec.ts
- tarifas-transporte/__tests__/tarifas.service.spec.ts
- tarifas-transporte/__tests__/lanes.service.spec.ts
P3 - Servicios implementados (19 servicios):
combustible-gastos (5):
- CargaCombustibleService, CrucePeajeService, GastoViajeService
- AnticipoViaticoService, ControlRendimientoService
hr (7 + DTOs):
- EmployeesService, DepartmentsService, PuestosService
- ContractsService, LeaveTypesService, LeaveAllocationsService, LeavesService
reports (7):
- ReportDefinitionService, ReportExecutionService, ReportScheduleService
- DashboardService, KpiSnapshotService, CustomReportService, DataModelService
Config: Excluir tests del build TypeScript (tsconfig.json)
Total: ~8,200 líneas de código
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-27 12:17:13 -06:00 |
|