mirror of
https://github.com/stablyai/orca.git
synced 2026-10-31 00:57:45 +00:00
test: remove redundant cases and strengthen state-transition assertions (#33309)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
This commit is contained in:
@@ -24,12 +24,13 @@ describe('resolveAgentStartupPlanInputs with extra agent args', () => {
|
||||
extraAgentArgs: '--model opus --add-dir "my docs"'
|
||||
})
|
||||
const plan = buildAgentStartupPlan({ ...inputs, prompt: 'go' })
|
||||
expect(plan?.launchCommand).toContain("'--add-dir' 'my docs'")
|
||||
expect(plan?.launchCommand).toContain('opus')
|
||||
expect(plan?.launchCommand).not.toContain('sonnet')
|
||||
expect(plan?.launchCommand).toContain('--dangerously-skip-permissions')
|
||||
})
|
||||
|
||||
it('builds the same command the desktop path builds', () => {
|
||||
it('matches explicitly composed launch defaults and extras', () => {
|
||||
const headless = resolveAgentStartupPlanInputs({
|
||||
agent: 'claude',
|
||||
settings: SETTINGS,
|
||||
|
||||
Reference in New Issue
Block a user