You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			33 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Markdown
		
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			Markdown
		
	
| # Mapa de tests
 | |
| 
 | |
| Cobertura actual (resumen)
 | |
| - tests/unit/server.test.ts
 | |
|   - Valida flujo de WebhookServer: health/metrics, manejo de payloads, normalización básica y encolado simulado.
 | |
| - tests/unit/services/cleanup-inactive.test.ts
 | |
|   - Verifica MaintenanceService.cleanupInactiveMembersOnce con fechas umbral.
 | |
| - tests/unit/services/command.claim-unassign.test.ts
 | |
|   - Flujo de tomar/soltar tareas a través de CommandService y TaskService, creando datos en memoria.
 | |
| - tests/unit/services/command.date-parsing.test.ts
 | |
|   - Parsing de fechas y helpers relacionados con zona horaria para comandos.
 | |
| - tests/unit/services/command.reminders-config.test.ts
 | |
|   - Configuración de recordatorios por comando y persistencia en user_preferences.
 | |
| - tests/unit/services/group-sync.members.test.ts
 | |
|   - Reconciliación de miembros de grupos (added/updated/deactivated) y timestamps.
 | |
| - tests/unit/services/group-sync.scheduler.test.ts
 | |
|   - Semántica de shouldSync, intervalos y control de schedulers.
 | |
| - tests/unit/services/metrics-health.test.ts
 | |
|   - Habilitación/inhabilitación de métricas y formato de salida.
 | |
| - tests/unit/services/reminders.test.ts
 | |
|   - Lógica de recordatorios: ventanas horarias, frecuencias y encolado.
 | |
| - tests/unit/services/response-queue.cleanup.test.ts
 | |
|   - Limpieza de cola de respuestas según políticas temporales.
 | |
| - tests/unit/services/response-queue.test.ts
 | |
|   - Reintentos y backoff de la cola de respuestas.
 | |
| 
 | |
| Huecos de cobertura sugeridos
 | |
| - contacts.ts: errores de red, timeouts y caché negativa.
 | |
| - identity.ts: interacción entre caché en memoria y tabla user_aliases (miss/hit/actualización).
 | |
| - rate-limit.ts: escenarios de burst y cooldown de notificación.
 | |
| - webhook-manager.ts: configuración y comportamiento condicional por eventos.
 | |
| - tasks/service.ts: rutas menos comunes (edición, vencimientos complejos).
 |