From cc74caf9d9b66711f4aab793966c1f8a5663e1b9 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sun, 15 Feb 2026 14:22:31 -0800 Subject: Switch to HashRouter to fix page reload issues (NK-hy162w) --- frontend/src/components/FeedList.test.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'frontend/src/components/FeedList.test.tsx') diff --git a/frontend/src/components/FeedList.test.tsx b/frontend/src/components/FeedList.test.tsx index d3d3a57..d4e72cc 100644 --- a/frontend/src/components/FeedList.test.tsx +++ b/frontend/src/components/FeedList.test.tsx @@ -202,8 +202,9 @@ describe('FeedList Component', () => { await waitFor(() => { expect(global.fetch).toHaveBeenCalledWith('/api/logout', expect.any(Object)); - expect(window.location.href).toContain('/v2/login'); + expect(window.location.href).toContain('/v2/#/login'); }); + // @ts-expect-error - restoring window.location window.location = originalLocation; }); -- cgit v1.2.3