Reset App deep-link test history state around replaceState stubs so full-file order no longer leaks navigation state.
- Reset the real browser history snapshot before stubbing replaceState.
- Restore replaceState before cleanup so history state and URL are reset through the original implementation.
- Document why deep-link tests must clear navIndex between mounts.
Files changed:
packages/dashboard/app/components/__tests__/App.test.tsx | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
Fusion-Task-Id: FN-7101
Fusion-Task-Lineage: 5c44441f-f0d2-4ad3-bdcf-5a0a0e3e6e6f
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>