Remove duplicated and constant-only tests

This commit is contained in:
Chris Scott committed 2026-11-13 15:30:56 -05:00
1 parent ee4ef8217d
commit 71bde0378a
8 files changed
+17 -366

No files matched your search

+1 -13
View File
@@ -1,19 +1,7 @@
import { describe, it, expect } from 'vitest';
import { getSessionListPath, getSwipeBackTarget, getAssistantPath, getAssistantSessionListPath, isAssistantPath, getPathWithReturnTo, getReturnToPath, getRepoPath, getServerProjectPath, getServerSessionPath, getSessionPath, isSessionDetailRoute, parseActivePickerSession, parseRepoRoute, parseServerProjectRoute, parseServerSessionRoute } from './navigation';
import { getSessionListPath, getSwipeBackTarget, isAssistantPath, getPathWithReturnTo, getReturnToPath, getRepoPath, getServerProjectPath, getServerSessionPath, getSessionPath, isSessionDetailRoute, parseActivePickerSession, parseRepoRoute, parseServerProjectRoute, parseServerSessionRoute } from './navigation';
import { LOCAL_OPENCODE_SERVER_ID } from '@opencode-manager/shared/schemas';
describe('getAssistantPath', () => {
it('returns /assistant', () => {
expect(getAssistantPath()).toBe('/assistant');
});
});
describe('getAssistantSessionListPath', () => {
it('returns /assistant', () => {
expect(getAssistantSessionListPath()).toBe('/assistant');
});
});
describe('isAssistantPath', () => {
it('returns true for /assistant', () => {
expect(isAssistantPath('/assistant')).toBe(true);