diff options
| author | christine betts <[email protected]> | 2025-07-09 21:16:42 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-09 21:16:42 +0000 |
| commit | da50a1eefbd0751aaf137882595d500e6b6b4179 (patch) | |
| tree | 4a07182ca01f20074a5544db5caf5a198cabae6c /packages/cli/src/ui/components/AuthDialog.test.tsx | |
| parent | 063481faa4b1c86868689580ff0fbd8cb04141e3 (diff) | |
Add system-wide settings config for administrators (#3498)
Co-authored-by: Jack Wotherspoon <[email protected]>
Diffstat (limited to 'packages/cli/src/ui/components/AuthDialog.test.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/AuthDialog.test.tsx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/cli/src/ui/components/AuthDialog.test.tsx b/packages/cli/src/ui/components/AuthDialog.test.tsx index 60a8a930..d9f1bd2c 100644 --- a/packages/cli/src/ui/components/AuthDialog.test.tsx +++ b/packages/cli/src/ui/components/AuthDialog.test.tsx @@ -30,6 +30,10 @@ describe('AuthDialog', () => { const settings: LoadedSettings = new LoadedSettings( { + settings: {}, + path: '', + }, + { settings: { selectedAuthType: AuthType.USE_GEMINI, }, @@ -87,6 +91,12 @@ describe('AuthDialog', () => { path: '', }, { + settings: { + selectedAuthType: undefined, + }, + path: '', + }, + { settings: {}, path: '', }, @@ -148,6 +158,10 @@ describe('AuthDialog', () => { const onSelect = vi.fn(); const settings: LoadedSettings = new LoadedSettings( { + settings: {}, + path: '', + }, + { settings: { selectedAuthType: AuthType.USE_GEMINI, }, |
