diff --git a/web/src/lib/components/Shell.test.ts b/web/src/lib/components/Shell.test.ts index ad3ac561..387203ec 100644 --- a/web/src/lib/components/Shell.test.ts +++ b/web/src/lib/components/Shell.test.ts @@ -48,7 +48,9 @@ describe('Shell', () => { expect(screen.getByRole('link', { name: label })).toBeInTheDocument(); } expect(screen.getByRole('link', { name: 'Home' })).toHaveAttribute('href', '/'); - expect(screen.getByRole('link', { name: 'Library' })).toHaveAttribute('href', '/library'); + // Library jumps to the Artists tab directly so SPA navigation + // bypasses the /library 308-redirect. + expect(screen.getByRole('link', { name: 'Library' })).toHaveAttribute('href', '/library/artists'); expect(screen.getByRole('link', { name: 'Discover' })).toHaveAttribute('href', '/discover'); });