@@ -239,7 +239,7 @@ describe('SettingsUtils', () => {
239239 expect ( shouldShowInDialog ( 'showMemoryUsage' ) ) . toBe ( true ) ;
240240 expect ( shouldShowInDialog ( 'vimMode' ) ) . toBe ( true ) ;
241241 expect ( shouldShowInDialog ( 'hideWindowTitle' ) ) . toBe ( true ) ;
242- expect ( shouldShowInDialog ( 'usageStatisticsEnabled' ) ) . toBe ( true ) ;
242+ expect ( shouldShowInDialog ( 'usageStatisticsEnabled' ) ) . toBe ( false ) ;
243243 } ) ;
244244
245245 it ( 'should return false for settings marked to hide from dialog' , ( ) => {
@@ -286,7 +286,7 @@ describe('SettingsUtils', () => {
286286 expect ( allKeys ) . toContain ( 'ideMode' ) ;
287287 expect ( allKeys ) . toContain ( 'disableAutoUpdate' ) ;
288288 expect ( allKeys ) . toContain ( 'showMemoryUsage' ) ;
289- expect ( allKeys ) . toContain ( 'usageStatisticsEnabled' ) ;
289+ expect ( allKeys ) . not . toContain ( 'usageStatisticsEnabled' ) ;
290290 expect ( allKeys ) . not . toContain ( 'selectedAuthType' ) ;
291291 expect ( allKeys ) . not . toContain ( 'coreTools' ) ;
292292 expect ( allKeys ) . not . toContain ( 'theme' ) ; // Now hidden
@@ -302,7 +302,7 @@ describe('SettingsUtils', () => {
302302 expect ( keys ) . toContain ( 'showMemoryUsage' ) ;
303303 expect ( keys ) . toContain ( 'vimMode' ) ;
304304 expect ( keys ) . toContain ( 'hideWindowTitle' ) ;
305- expect ( keys ) . toContain ( 'usageStatisticsEnabled' ) ;
305+ expect ( keys ) . not . toContain ( 'usageStatisticsEnabled' ) ;
306306 expect ( keys ) . not . toContain ( 'selectedAuthType' ) ; // Advanced setting
307307 expect ( keys ) . not . toContain ( 'useExternalAuth' ) ; // Advanced setting
308308 } ) ;
@@ -329,7 +329,7 @@ describe('SettingsUtils', () => {
329329 expect ( dialogKeys ) . toContain ( 'showMemoryUsage' ) ;
330330 expect ( dialogKeys ) . toContain ( 'vimMode' ) ;
331331 expect ( dialogKeys ) . toContain ( 'hideWindowTitle' ) ;
332- expect ( dialogKeys ) . toContain ( 'usageStatisticsEnabled' ) ;
332+ expect ( dialogKeys ) . not . toContain ( 'usageStatisticsEnabled' ) ;
333333 expect ( dialogKeys ) . toContain ( 'ideMode' ) ;
334334 expect ( dialogKeys ) . toContain ( 'disableAutoUpdate' ) ;
335335
0 commit comments