summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/AuthDialog.test.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/cli/src/ui/components/AuthDialog.test.tsx')
-rw-r--r--packages/cli/src/ui/components/AuthDialog.test.tsx14
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,
},