krona-staff/tests/unit
Ochenstarik 1a77a8264b fix(sync): compute org unit status dynamically in bootstrap pull
Таблица staff_org_units не имеет отдельной колонки status, активность определяется полями is_active и deleted_at. Прямой запрос status при начальной загрузке без курсора приводил к 500 ошибке (дефект SYNC-C0). Статус вычисляется через CASE-выражение. Очистка интеграционного теста выполняется ролью мигратора.
2026-09-26 16:09:23 +07:00
..
config.test.ts test(push): tenant isolation and web-push idempotency tests 2026-09-26 12:08:36 +07:00
deployment.test.ts fix(terminal): secure local state and background IPC 2026-09-24 21:13:46 +07:00
employee-push.test.ts fix(push): isolate employee data and preserve platform outbox 2026-09-26 12:31:10 +07:00
events.test.ts fix: enforce tenant isolation and runtime contracts 2026-09-18 01:34:12 +07:00
ids.test.ts fix: enforce tenant isolation and runtime contracts 2026-09-18 01:34:12 +07:00
migration-checksum.test.ts fix: harden terminal recovery and deployment 2026-09-18 11:10:28 +07:00
payroll-auto-calc.test.ts feat(staff): import workbook professions and dated payroll 2026-09-24 21:14:03 +07:00
payroll-calculator.test.ts feat: add secure attendance portal and payroll foundation 2026-09-24 15:59:38 +07:00
payroll-industry.test.ts feat: add secure attendance portal and payroll foundation 2026-09-24 15:59:38 +07:00
payroll-rule.test.ts feat: add secure attendance portal and payroll foundation 2026-09-24 15:59:38 +07:00
portal-ui.test.ts feat(portal): rebuild staff operational workspace 2026-09-26 14:13:21 +07:00
security-boundaries.test.ts fix(terminal): secure local state and background IPC 2026-09-24 21:13:46 +07:00
sync.test.ts fix(sync): compute org unit status dynamically in bootstrap pull 2026-09-26 16:09:23 +07:00
tenant-sql.test.ts feat(sync): add offline sync backend foundation 2026-09-26 13:10:27 +07:00
work-session.test.ts feat: reconcile and review attendance sessions 2026-09-24 17:00:08 +07:00