mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
Remove duplicated and constant-only tests
This commit is contained in:
1 parent
ee4ef8217d
commit
71bde0378a
8 files changed
+17
-366
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user