Skip to content

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

chore(tests): remove unused test files

Steven Enamakela335c2b02f7a
diff --git a/app/src/components/layout/shell/SidebarHeader.test.tsx b/app/src/components/layout/shell/SidebarHeader.test.tsx
index ae3957d93c..1ca89f852d 100644
--- a/app/src/components/layout/shell/SidebarHeader.test.tsx
+++ b/app/src/components/layout/shell/SidebarHeader.test.tsx
@@ -58,9 +58,7 @@ describe('SidebarHeader', () => {
it('settings button navigates to /settings', () => {
renderWithProviders(<SidebarHeader />, { initialEntries: ['/home'] });
fireEvent.click(screen.getByRole('button', { name: 'nav.settings' }));
- expect(mockNavigate).toHaveBeenCalledWith('/settings', {
- state: { backgroundLocation: expect.objectContaining({ pathname: '/home' }) },
- });
+ expect(mockNavigate).toHaveBeenCalledWith('/settings');
});
it('Collapse button calls hide()', () => {
diff --git a/app/src/components/settings/panels/ProfilesPanel.test.tsx b/app/src/components/settings/panels/ProfilesPanel.test.tsx
index c9188de582..aafea4dc53 100644
--- a/app/src/components/settings/panels/ProfilesPanel.test.tsx
+++ b/app/src/components/settings/panels/ProfilesPanel.test.tsx
@@ -79,8 +79,7 @@ describe('ProfilesPanel', () => {
renderPanel();
await screen.findByText('Writer');
fireEvent.click(screen.getByText('New profile'));
- // Second arg carries the backgroundLocation nav state for the desktop modal.
- expect(mockNavigate).toHaveBeenCalledWith('/settings/profiles/new', expect.anything());
+ expect(mockNavigate).toHaveBeenCalledWith('/settings/profiles/new');
});
it('sets a non-active profile as active', async () => {
diff --git a/app/src/features/conversations/components/TaskKanbanBoard.test.tsx b/app/src/features/conversations/components/TaskKanbanBoard.test.tsx
index b18b31cb70..d3bb857fb2 100644
--- a/app/src/features/conversations/components/TaskKanbanBoard.test.tsx
+++ b/app/src/features/conversations/components/TaskKanbanBoard.test.tsx
@@ -207,9 +207,7 @@ describe('TaskKanbanBoard approval surface', () => {
// "Manage sources" jumps to the merged Integrations settings page
// (task-sources was folded into /settings/integrations).
fireEvent.click(screen.getByText('conversations.taskKanban.sources.manage'));
- expect(navigateSpy).toHaveBeenCalledWith('/settings/integrations', {
- state: { backgroundLocation: expect.objectContaining({ pathname: '/chat' }) },
- });
+ expect(navigateSpy).toHaveBeenCalledWith('/settings/integrations');
});
it('shows a "View work" button on a card with a session thread and calls onViewSession', () => {