mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-18 18:11:02 -07:00
feat(settings): enhance settings management with generic setter and display hel… (#6202)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
@@ -392,7 +392,7 @@ describe('SettingsUtils', () => {
|
||||
new Set(),
|
||||
updatedPendingSettings,
|
||||
);
|
||||
expect(displayValue).toBe('true*'); // Should show true with * indicating change
|
||||
expect(displayValue).toBe('true'); // Should show true (no * since value matches default)
|
||||
|
||||
// Test that modified settings also show the * indicator
|
||||
const modifiedSettings = new Set([key]);
|
||||
@@ -602,7 +602,7 @@ describe('SettingsUtils', () => {
|
||||
mergedSettings,
|
||||
modifiedSettings,
|
||||
);
|
||||
expect(result).toBe('false'); // matches default, no *
|
||||
expect(result).toBe('false*');
|
||||
});
|
||||
|
||||
it('should show default value when setting is not in scope', () => {
|
||||
|
||||
Reference in New Issue
Block a user