Skip to content

Commit 87d7ac3

Browse files
updating tests
1 parent 9e805e1 commit 87d7ac3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/compass-preferences-model/src/preferences.spec.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ describe('Preferences class', function () {
132132
expect(states).to.deep.equal({
133133
trackUsageStatistics: 'set-global',
134134
enableMaps: 'set-cli',
135+
enableGenAIFeatures: 'derived',
135136
...expectedReleasedFeatureFlagsStates,
136137
});
137138
});
@@ -184,6 +185,7 @@ describe('Preferences class', function () {
184185

185186
expect(states).to.deep.equal({
186187
readOnly: 'set-global',
188+
enableGenAIFeatures: 'derived',
187189
...expectedReleasedFeatureFlagsStates,
188190
});
189191
});
@@ -227,6 +229,7 @@ describe('Preferences class', function () {
227229
{
228230
networkTraffic: false,
229231
enableMaps: false,
232+
enableGenAIFeatures: false,
230233
enableFeedbackPanel: false,
231234
trackUsageStatistics: false,
232235
autoUpdates: false,
@@ -248,6 +251,7 @@ describe('Preferences class', function () {
248251
},
249252
hardcoded: {
250253
networkTraffic: false,
254+
enableGenAIFeatures: false,
251255
},
252256
});
253257
const result = preferences.getPreferences();
@@ -292,6 +296,7 @@ describe('Preferences class', function () {
292296

293297
expect(mainPreferencesStates).to.deep.equal({
294298
trackUsageStatistics: 'set-global',
299+
enableGenAIFeatures: 'derived',
295300
enableMaps: 'set-cli',
296301
...expectedReleasedFeatureFlagsStates,
297302
});

0 commit comments

Comments
 (0)