File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed
compass-e2e-tests/helpers
compass-generative-ai/src
compass-preferences-model/src Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,7 @@ import { hideBin } from 'yargs/helpers';
99import Debug from 'debug' ;
1010import fs from 'fs' ;
1111import { getAtlasCloudSandboxDefaultConnections } from './compass-web-sandbox' ;
12- import {
13- E2E_TEST_ATLAS_PREFERENCES_OVERRIDE_PORT ,
14- startPreferencesOverrideServer ,
15- } from './atlas-ai-preferences-override' ;
12+ import { E2E_TEST_ATLAS_PREFERENCES_OVERRIDE_PORT } from './atlas-ai-preferences-override' ;
1613
1714const debug = Debug ( 'compass-e2e-tests:context' ) ;
1815
Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ export class AtlasAiService {
340340 this . logger . log . info (
341341 this . logger . mongoLogId ( 1_001_000_300 ) ,
342342 'AtlasAIService' ,
343- ` Fetched if the AI feature is enabled ${ process . env . E2E_TEST_ATLAS_PREFERENCES_OVERRIDE_PORT } ` ,
343+ ' Fetched if the AI feature is enabled' ,
344344 {
345345 enabled : isAIFeatureEnabled ,
346346 featureResponse,
Original file line number Diff line number Diff line change @@ -17,8 +17,7 @@ export class CompassWebPreferencesAccess implements PreferencesAccess {
1717 savePreferences ( _attributes : Partial < UserPreferences > ) {
1818 if (
1919 process . env . E2E_TEST_ATLAS_PREFERENCES_OVERRIDE_PORT !== undefined &&
20- process . env . E2E_TEST_ATLAS_PREFERENCES_OVERRIDE_PORT !== 'false' &&
21- Object . keys ( _attributes ) . length === 4
20+ process . env . E2E_TEST_ATLAS_PREFERENCES_OVERRIDE_PORT !== 'false'
2221 ) {
2322 return Promise . resolve ( this . _preferences . savePreferences ( _attributes ) ) ;
2423 }
You can’t perform that action at this time.
0 commit comments