gsxdsm
be3799e7a3
FN-8782: stabilize TaskDetailModal rendering tests
Cover TaskDetailModal definition refresh behavior with reliable Promise-backed API mocks.
- Reset detail fetch mocks to preserve the production Promise contract
- Test refreshed markdown file links, rejected refreshes, visibility polling, and stale response fencing
- Update optimistic detail expectations for authoritative Definition refreshes
Files changed:
.../__tests__/TaskDetailModal.rendering.test.tsx | 200 +++++++++++++++++++--
.../__tests__/TaskDetailModal.test-helpers.ts | 17 +-
2 files changed, 197 insertions(+), 20 deletions(-)
Fusion-Task-Id: FN-8782
Fusion-Task-Lineage: 302a7d58-c014-473b-97f0-8751b510169c
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-08-04 08:40:58 -07:00
..
2026-08-04 01:59:50 -07:00
2026-08-04 01:59:50 -07:00
2026-08-04 01:59:50 -07:00
2026-08-04 08:40:58 -07:00
2026-08-04 01:59:50 -07:00
2026-08-04 01:59:50 -07:00
2026-08-04 01:59:50 -07:00
2026-08-04 01:59:50 -07:00
2026-08-04 01:59:50 -07:00
2026-08-04 01:59:50 -07:00
2026-07-27 19:40:08 -07:00
2026-08-04 01:59:50 -07:00