gsxdsm
49c2de108b
test(dashboard): harden hook tests + drop dead App.tsx re-exports (code review)
Address code-review findings on the App.tsx module-breakup:
- Add behavior-preservation tests: useBoardScrollRestore real double-rAF
restore path; useApprovalBanner clear-on-leave-awaiting + mailbox-refresh
dedup; useCapacityRiskBanner threshold-change-clears + dismiss-persist
assertion; useChatUnreadBadge room-message + cross-project filter; and a
new sseSplitIntegration test co-mounting useMailboxUnread + useApprovalBanner
to pin the KTD4 SSE split (no double-fire; awaiting-approval refresh exactly
once via callback).
- Add unmount/teardown assertions (stash interval clear, auth-token listener
removal, dashboard-health cancelled flag).
- Drop dead type-only re-exports (ApprovalBannerCandidate, CliActionDeps) from
App.tsx — zero importers (verified).
All hook tests green; App.test.tsx unchanged (5 pre-existing). typecheck +
eslint clean. No production behavior change.
2026-06-24 01:13:33 -07:00
..
2026-06-23 15:37:29 -07:00
2026-06-23 12:27:50 -07:00
2026-06-23 15:37:29 -07:00
2026-06-24 01:13:33 -07:00
2026-06-23 12:27:50 -07:00
2026-06-23 12:27:50 -07:00
2026-06-23 15:37:29 -07:00
2026-06-23 12:27:50 -07:00
2026-06-23 12:27:50 -07:00
2026-06-23 12:27:50 -07:00
2026-06-08 15:19:27 -07:00
2026-06-23 12:27:50 -07:00