Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(sidebar): remove unused SidebarHeader test file

Steven Enamakelf47232e8acf9
diff --git a/app/src/components/layout/shell/SidebarHeader.test.tsx b/app/src/components/layout/shell/SidebarHeader.test.tsx
index 2cf86c7f06..e4959b918d 100644
--- a/app/src/components/layout/shell/SidebarHeader.test.tsx
+++ b/app/src/components/layout/shell/SidebarHeader.test.tsx
@@ -49,13 +49,13 @@ describe('SidebarHeader', () => {
);
});
- it('shortcuts button has matching aria-label and title', () => {
+ it('Discord button has matching aria-label and title', () => {
renderWithProviders(<SidebarHeader />, { initialEntries: ['/home'] });
- const btn = screen.getByRole('button', { name: 'shortcuts.title' });
- expect(btn).toHaveAttribute('aria-label', 'shortcuts.title');
+ const btn = screen.getByRole('button', { name: 'nav.discord' });
+ expect(btn).toHaveAttribute('aria-label', 'nav.discord');
// The styled <Tooltip> wrapper re-applies a native `title` fallback so the
// label still surfaces if the portal pill is occluded by a CEF webview.
- expect(btn).toHaveAttribute('title', 'shortcuts.title');
+ expect(btn).toHaveAttribute('title', 'nav.discord');
});
it('settings button navigates to /settings', () => {