Skip to content

Commit 06c4d94

Browse files
committed
clean up use of feature flag in tests
1 parent a2c4323 commit 06c4d94

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/compass-generative-ai/src/atlas-ai-service.spec.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,7 @@ describe('AtlasAiService', function () {
102102
delete mockConnectionInfo.atlasMetadata;
103103
}
104104

105-
beforeEach(async function () {
106-
await preferences.savePreferences({
107-
enableChatbotEndpointForGenAI: false,
108-
});
105+
beforeEach(function () {
109106
const mockAtlasService = new MockAtlasService();
110107
atlasAiService = new AtlasAiService({
111108
apiURLPreset,
@@ -714,9 +711,6 @@ describe('AtlasAiService', function () {
714711

715712
beforeEach(async function () {
716713
const mockAtlasService = new MockAtlasService();
717-
await preferences.savePreferences({
718-
enableChatbotEndpointForGenAI: true,
719-
});
720714
atlasAiService = new AtlasAiService({
721715
apiURLPreset: 'cloud',
722716
atlasService: mockAtlasService as any,

0 commit comments

Comments
 (0)