workorder-desk/backend/tests
lakshit verma 35069fe4ad
fix(backend): parse triage proposals wrapped in prose or code fences
Free-model routers often answer with surrounding prose, so a strict whole-
response JSON parse failed and every triage run ended in error. Extract the
first JSON block before parsing, keeping the zod schema gate intact.
2026-08-19 22:05:20 +05:30
..
admin.integration.test.ts fix(auth): harden session handling and registration 2026-08-17 02:06:39 +05:30
agent-admin.integration.test.ts test(backend): raise AI surface coverage — provider client, admin agent API, policy, triage skip paths 2026-08-19 20:03:39 +05:30
ai-helpers.ts fix(test): pin AI_MODEL in AI test env so suites are independent of the developer .env 2026-08-19 21:46:21 +05:30
ai-runtime.unit.test.ts test(backend): agent runtime, copilot API, and triage/worker suites with mocked provider 2026-08-19 19:23:00 +05:30
ai.middleware.unit.test.ts test(backend): raise AI surface coverage — provider client, admin agent API, policy, triage skip paths 2026-08-19 20:03:39 +05:30
auth.integration.test.ts fix(auth): harden session handling and registration 2026-08-17 02:06:39 +05:30
copilot.integration.test.ts test(backend): agent runtime, copilot API, and triage/worker suites with mocked provider 2026-08-19 19:23:00 +05:30
health.integration.test.ts feat(backend): implement Express work-order API with cookie auth 2026-08-17 01:31:48 +05:30
helpers.ts feat(backend): implement Express work-order API with cookie auth 2026-08-17 01:31:48 +05:30
model-mappers.unit.test.ts test(backend): raise AI surface coverage — provider client, admin agent API, policy, triage skip paths 2026-08-19 20:03:39 +05:30
policy.unit.test.ts test(backend): raise AI surface coverage — provider client, admin agent API, policy, triage skip paths 2026-08-19 20:03:39 +05:30
profile.integration.test.ts feat(backend): implement Express work-order API with cookie auth 2026-08-17 01:31:48 +05:30
provider.unit.test.ts test(backend): raise AI surface coverage — provider client, admin agent API, policy, triage skip paths 2026-08-19 20:03:39 +05:30
setup.ts feat(backend): implement Express work-order API with cookie auth 2026-08-17 01:31:48 +05:30
triage.worker.test.ts fix(backend): parse triage proposals wrapped in prose or code fences 2026-08-19 22:05:20 +05:30
work-orders.integration.test.ts feat(backend): implement Express work-order API with cookie auth 2026-08-17 01:31:48 +05:30