diff options
| author | Ali Al Jufairi <[email protected]> | 2025-08-19 11:28:45 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-19 02:28:45 +0000 |
| commit | 92bb4624c4ce191ed5dd60aaca4e2786039b3b2b (patch) | |
| tree | 31ec7041f8cdf1cecf7bb708135ce74fffa81d2f /packages/cli/src/utils/settingsUtils.test.ts | |
| parent | 36ea986cfe443d2d363db6e6daa3a0ced7408f3b (diff) | |
feat(settings): enhance settings management with generic setter and display hel… (#6202)
Co-authored-by: Jacob Richman <[email protected]>
Diffstat (limited to 'packages/cli/src/utils/settingsUtils.test.ts')
| -rw-r--r-- | packages/cli/src/utils/settingsUtils.test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/cli/src/utils/settingsUtils.test.ts b/packages/cli/src/utils/settingsUtils.test.ts index 2aeb1da3..98a4588c 100644 --- a/packages/cli/src/utils/settingsUtils.test.ts +++ b/packages/cli/src/utils/settingsUtils.test.ts @@ -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', () => { |
