aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/components/FeedList.test.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/components/FeedList.test.tsx')
-rw-r--r--frontend/src/components/FeedList.test.tsx3
1 files changed, 2 insertions, 1 deletions
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;
});