mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 12:54:07 -07:00
Remove deprecated UI theme migration logic from settings test.
This commit is contained in:
@@ -239,11 +239,6 @@ describe('Settings Loading and Merging', () => {
|
|||||||
|
|
||||||
expect(fs.readFileSync).toHaveBeenCalledWith(path, 'utf-8');
|
expect(fs.readFileSync).toHaveBeenCalledWith(path, 'utf-8');
|
||||||
const expectedSettings = { ...content };
|
const expectedSettings = { ...content };
|
||||||
// Account for migrateDeprecatedSettings
|
|
||||||
if (expectedSettings.ui) {
|
|
||||||
expectedSettings.ui.themeLight = content.ui?.themeLight;
|
|
||||||
expectedSettings.ui.themeDark = content.ui?.themeLight;
|
|
||||||
}
|
|
||||||
expect(
|
expect(
|
||||||
settings[scope as 'system' | 'user' | 'workspace'].settings,
|
settings[scope as 'system' | 'user' | 'workspace'].settings,
|
||||||
).toEqual(expectedSettings);
|
).toEqual(expectedSettings);
|
||||||
|
|||||||
Reference in New Issue
Block a user