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.tsx76
1 files changed, 62 insertions, 14 deletions
diff --git a/packages/cli/src/ui/components/AuthDialog.test.tsx b/packages/cli/src/ui/components/AuthDialog.test.tsx
index b737b2f7..a8893215 100644
--- a/packages/cli/src/ui/components/AuthDialog.test.tsx
+++ b/packages/cli/src/ui/components/AuthDialog.test.tsx
@@ -31,7 +31,7 @@ describe('AuthDialog', () => {
const settings: LoadedSettings = new LoadedSettings(
{
- settings: {},
+ settings: { customThemes: {}, mcpServers: {} },
path: '',
},
{
@@ -41,7 +41,7 @@ describe('AuthDialog', () => {
path: '',
},
{
- settings: {},
+ settings: { customThemes: {}, mcpServers: {} },
path: '',
},
[],
@@ -68,11 +68,17 @@ describe('AuthDialog', () => {
{
settings: {
selectedAuthType: undefined,
+ customThemes: {},
+ mcpServers: {},
},
path: '',
},
{
- settings: {},
+ settings: { customThemes: {}, mcpServers: {} },
+ path: '',
+ },
+ {
+ settings: { customThemes: {}, mcpServers: {} },
path: '',
},
[],
@@ -95,11 +101,17 @@ describe('AuthDialog', () => {
{
settings: {
selectedAuthType: undefined,
+ customThemes: {},
+ mcpServers: {},
},
path: '',
},
{
- settings: {},
+ settings: { customThemes: {}, mcpServers: {} },
+ path: '',
+ },
+ {
+ settings: { customThemes: {}, mcpServers: {} },
path: '',
},
[],
@@ -122,11 +134,17 @@ describe('AuthDialog', () => {
{
settings: {
selectedAuthType: undefined,
+ customThemes: {},
+ mcpServers: {},
},
path: '',
},
{
- settings: {},
+ settings: { customThemes: {}, mcpServers: {} },
+ path: '',
+ },
+ {
+ settings: { customThemes: {}, mcpServers: {} },
path: '',
},
[],
@@ -150,11 +168,17 @@ describe('AuthDialog', () => {
{
settings: {
selectedAuthType: undefined,
+ customThemes: {},
+ mcpServers: {},
},
path: '',
},
{
- settings: {},
+ settings: { customThemes: {}, mcpServers: {} },
+ path: '',
+ },
+ {
+ settings: { customThemes: {}, mcpServers: {} },
path: '',
},
[],
@@ -173,11 +197,17 @@ describe('AuthDialog', () => {
{
settings: {
selectedAuthType: undefined,
+ customThemes: {},
+ mcpServers: {},
},
path: '',
},
{
- settings: {},
+ settings: { customThemes: {}, mcpServers: {} },
+ path: '',
+ },
+ {
+ settings: { customThemes: {}, mcpServers: {} },
path: '',
},
[],
@@ -198,11 +228,17 @@ describe('AuthDialog', () => {
{
settings: {
selectedAuthType: undefined,
+ customThemes: {},
+ mcpServers: {},
},
path: '',
},
{
- settings: {},
+ settings: { customThemes: {}, mcpServers: {} },
+ path: '',
+ },
+ {
+ settings: { customThemes: {}, mcpServers: {} },
path: '',
},
[],
@@ -225,17 +261,19 @@ describe('AuthDialog', () => {
const onSelect = vi.fn();
const settings: LoadedSettings = new LoadedSettings(
{
- settings: {},
+ settings: { customThemes: {}, mcpServers: {} },
path: '',
},
{
settings: {
selectedAuthType: undefined,
+ customThemes: {},
+ mcpServers: {},
},
path: '',
},
{
- settings: {},
+ settings: { customThemes: {}, mcpServers: {} },
path: '',
},
[],
@@ -262,11 +300,19 @@ describe('AuthDialog', () => {
const onSelect = vi.fn();
const settings: LoadedSettings = new LoadedSettings(
{
- settings: {},
+ settings: { customThemes: {}, mcpServers: {} },
+ path: '',
+ },
+ {
+ settings: {
+ selectedAuthType: undefined,
+ customThemes: {},
+ mcpServers: {},
+ },
path: '',
},
{
- settings: {},
+ settings: { customThemes: {}, mcpServers: {} },
path: '',
},
[],
@@ -296,17 +342,19 @@ describe('AuthDialog', () => {
const onSelect = vi.fn();
const settings: LoadedSettings = new LoadedSettings(
{
- settings: {},
+ settings: { customThemes: {}, mcpServers: {} },
path: '',
},
{
settings: {
selectedAuthType: AuthType.USE_GEMINI,
+ customThemes: {},
+ mcpServers: {},
},
path: '',
},
{
- settings: {},
+ settings: { customThemes: {}, mcpServers: {} },
path: '',
},
[],