Move settings error throwing to loadSettings (#7605)

This commit is contained in:
Tommaso Sciortino
2025-09-03 10:41:53 -07:00
committed by GitHub
parent d2ae869bb4
commit e6e60861e5
14 changed files with 50 additions and 205 deletions
@@ -52,7 +52,6 @@ describe('AuthDialog', () => {
settings: { ui: { customThemes: {} }, mcpServers: {} },
path: '',
},
[],
true,
new Set(),
);
@@ -95,7 +94,6 @@ describe('AuthDialog', () => {
settings: { ui: { customThemes: {} }, mcpServers: {} },
path: '',
},
[],
true,
new Set(),
);
@@ -134,7 +132,6 @@ describe('AuthDialog', () => {
settings: { ui: { customThemes: {} }, mcpServers: {} },
path: '',
},
[],
true,
new Set(),
);
@@ -173,7 +170,6 @@ describe('AuthDialog', () => {
settings: { ui: { customThemes: {} }, mcpServers: {} },
path: '',
},
[],
true,
new Set(),
);
@@ -213,7 +209,6 @@ describe('AuthDialog', () => {
settings: { ui: { customThemes: {} }, mcpServers: {} },
path: '',
},
[],
true,
new Set(),
);
@@ -248,7 +243,6 @@ describe('AuthDialog', () => {
settings: { ui: { customThemes: {} }, mcpServers: {} },
path: '',
},
[],
true,
new Set(),
);
@@ -285,7 +279,6 @@ describe('AuthDialog', () => {
settings: { ui: { customThemes: {} }, mcpServers: {} },
path: '',
},
[],
true,
new Set(),
);
@@ -326,7 +319,6 @@ describe('AuthDialog', () => {
settings: { ui: { customThemes: {} }, mcpServers: {} },
path: '',
},
[],
true,
new Set(),
);
@@ -371,7 +363,6 @@ describe('AuthDialog', () => {
settings: { ui: { customThemes: {} }, mcpServers: {} },
path: '',
},
[],
true,
new Set(),
);
@@ -419,7 +410,6 @@ describe('AuthDialog', () => {
settings: { ui: { customThemes: {} }, mcpServers: {} },
path: '',
},
[],
true,
new Set(),
);
@@ -63,7 +63,6 @@ const createMockSettings = (
},
path: '/workspace/settings.json',
},
[],
true,
new Set(),
);
@@ -188,7 +187,6 @@ describe('SettingsDialog', () => {
},
path: '/workspace/settings.json',
},
[],
true,
new Set(),
);