mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
test: remove 140 low-value tests (#39644)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
import { expect, it } from 'vitest'
|
||||
import { searchAgentPickerSetups } from './agent-launch-picker-search'
|
||||
import type { AgentPickerEntry } from './agent-launch-picker'
|
||||
|
||||
it('searches the fallback models the submenu offers while the host catalog is unknown', () => {
|
||||
const codex: AgentPickerEntry = {
|
||||
agent: 'codex',
|
||||
label: 'Codex',
|
||||
rows: [{ agent: 'codex', kind: 'cli' }],
|
||||
surfaces: ['terminal'],
|
||||
defaultSurface: 'terminal',
|
||||
terminal: {},
|
||||
structured: {},
|
||||
catalog: { origin: 'unknown' }
|
||||
}
|
||||
|
||||
const setups = searchAgentPickerSetups([codex], 'gpt')
|
||||
|
||||
expect(setups.length).toBeGreaterThan(0)
|
||||
expect(setups.every((setup) => setup.model.id.startsWith('gpt'))).toBe(true)
|
||||
})
|
||||
Reference in New Issue
Block a user