Remove deprecated UI theme migration logic from settings test.

This commit is contained in:
Dan Zaharia
2026-03-02 13:57:24 -05:00
parent 98a0a2f0ef
commit a32322dd06

View File

@@ -239,11 +239,6 @@ describe('Settings Loading and Merging', () => {
expect(fs.readFileSync).toHaveBeenCalledWith(path, 'utf-8');
const expectedSettings = { ...content };
// Account for migrateDeprecatedSettings
if (expectedSettings.ui) {
expectedSettings.ui.themeLight = content.ui?.themeLight;
expectedSettings.ui.themeDark = content.ui?.themeLight;
}
expect(
settings[scope as 'system' | 'user' | 'workspace'].settings,
).toEqual(expectedSettings);