From ae2b06f7a702ea432b801985f534ade405d0299a Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sat, 14 Feb 2026 09:55:33 -0800 Subject: ui: redesign sidebar to match v1 aesthetic and fix navigation --- frontend/src/components/FeedList.test.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (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 daa4d69..059d8a4 100644 --- a/frontend/src/components/FeedList.test.tsx +++ b/frontend/src/components/FeedList.test.tsx @@ -13,11 +13,11 @@ describe('FeedList Component', () => { }); it('renders loading state initially', () => { - (global.fetch as any).mockImplementation(() => new Promise(() => {})); + (global.fetch as any).mockImplementation(() => new Promise(() => { })); render( {/* @ts-ignore */} - {}} /> + { }} /> ); expect(screen.getByText(/loading feeds/i)).toBeInTheDocument(); @@ -60,7 +60,7 @@ describe('FeedList Component', () => { render( {/* @ts-ignore */} - {}} /> + { }} /> ); @@ -69,7 +69,7 @@ describe('FeedList Component', () => { }); // Expand feeds - fireEvent.click(screen.getByText(/feeds/i, { selector: 'h2' })); + fireEvent.click(screen.getByText(/feeds/i, { selector: 'h4' })); await waitFor(() => { expect(screen.getByText('Feed One')).toBeInTheDocument(); @@ -85,7 +85,7 @@ describe('FeedList Component', () => { render( {/* @ts-ignore */} - {}} /> + { }} setSidebarVisible={() => { }} /> ); @@ -114,7 +114,7 @@ describe('FeedList Component', () => { render( {/* @ts-ignore */} - {}} /> + { }} setSidebarVisible={() => { }} /> ); @@ -123,7 +123,7 @@ describe('FeedList Component', () => { }); // Expand feeds - fireEvent.click(screen.getByText(/feeds/i, { selector: 'h2' })); + fireEvent.click(screen.getByText(/feeds/i, { selector: 'h4' })); await waitFor(() => { expect(screen.getByText(/no feeds found/i)).toBeInTheDocument(); -- cgit v1.2.3