feat(FN-3315): add test coverage for archived insights in three test suites

Adds test coverage for archived insights across the core store, `InsightsView` component, and `useInsights` hook — 156 lines of new tests covering FN-3315.

Fusion-Task-Id: FN-3315
This commit is contained in:
Fusion
2026-05-04 23:18:10 -07:00
committed by gsxdsm
parent d699797606
commit b45b4dd17a
10 changed files with 475 additions and 53 deletions

View File

@@ -120,7 +120,7 @@ const INSIGHT_CATEGORIES: InsightCategory[] = [
"trends",
];
const INSIGHT_STATUSES: InsightStatus[] = ["generated", "confirmed", "stale", "dismissed"];
const INSIGHT_STATUSES: InsightStatus[] = ["generated", "confirmed", "stale", "dismissed", "archived"];
const INSIGHT_RUN_STATUSES: InsightRunStatus[] = ["pending", "running", "completed", "failed", "cancelled"];
const INSIGHT_RUN_TRIGGERS: InsightRunTrigger[] = ["schedule", "manual", "task_completion", "merge_event", "api"];