gsxdsm
a67ad70bf7
FN-6003: wrap dashboard chat and review tests in async act
Reduce persistent React act() warnings across dashboard chat and review tests.
- add shared async act()-wrapped render helpers in ChatView and TaskReviewTab test files
- convert affected test cases and render helpers to await initial renders before assertions and interactions
- keep existing test coverage while updating room, draft, CLI mount, scroll, and review scenarios for React's async rendering expectations
Files changed:
.../__tests__/ChatView.cli-mount.test.tsx | 26 +-
.../components/__tests__/ChatView.draft.test.tsx | 30 +-
.../components/__tests__/ChatView.rooms.test.tsx | 92 ++--
.../__tests__/ChatView.scroll-to-top.test.tsx | 34 +-
.../app/components/__tests__/ChatView.test.tsx | 603 +++++++++++----------
.../components/__tests__/TaskReviewTab.test.tsx | 79 +--
6 files changed, 469 insertions(+), 395 deletions(-)
Fusion-Task-Id: FN-6003
Fusion-Task-Lineage: 29866d71-b59f-4441-89df-e21408018385
2026-06-08 13:32:58 -07:00
..
2026-06-08 07:53:42 -07:00
2026-06-08 07:53:42 -07:00
2026-06-08 13:32:58 -07:00
2026-05-14 15:25:08 -07:00
2026-06-07 23:30:16 -07:00
2026-06-04 08:00:33 -07:00
2026-06-03 20:56:05 -07:00
2026-05-17 22:16:27 -07:00
2026-06-02 14:14:24 -07:00
2026-06-07 23:30:16 -07:00
2026-05-29 11:25:11 -07:00
2026-05-29 20:05:14 -07:00
2026-06-03 08:16:08 -07:00
2026-05-20 19:58:49 -07:00
2026-06-03 19:48:40 -07:00
2026-05-17 19:11:59 -07:00