Files
cim_summary/backend
admin 4b5afe2132 test(02-03): add alertService unit tests (8 passing)
- healthy probes trigger no alert logic
- down probe creates alert_events row and sends email
- degraded probe uses alert_type service_degraded
- deduplication suppresses row creation and email within cooldown
- recipient read from process.env.EMAIL_WEEKLY_RECIPIENT
- missing recipient skips email but still creates alert row
- email failure does not throw (non-throwing pipeline)
- multiple probes processed independently
- vi.mock factories use inline vi.fn() only (no TDZ hoisting errors)
2026-02-24 14:30:16 -05:00
..
2025-07-30 22:02:17 -04:00
2025-07-30 22:02:17 -04:00