mirror of
https://github.com/stablyai/orca.git
synced 2026-10-31 00:57:45 +00:00
* Replace workspace None agent option with a clear action * Limit agent clearing to new workspace creation * Let selected default agents toggle off in settings * Keep default tab templates out of setup-only creation * Remove duplicate clock property blocking CI
15 lines
432 B
TypeScript
15 lines
432 B
TypeScript
import { describe, expect, it } from 'vitest'
|
|
import { buildDefaultAgentSettingsUpdate } from './default-agent-settings'
|
|
|
|
describe('default agent settings', () => {
|
|
it.each(['blank', 'claude', null] as const)(
|
|
'clears the retired setup-only flag for %s',
|
|
(agent) => {
|
|
expect(buildDefaultAgentSettingsUpdate(agent)).toEqual({
|
|
defaultTuiAgent: agent,
|
|
newWorkspaceSetupOnly: false
|
|
})
|
|
}
|
|
)
|
|
})
|