@@ -456,23 +456,23 @@ describe('PackInstaller', () => {
456456 ) ;
457457 } ) ;
458458
459- it ( 'should use install terminology (not download) in pack download logs' , async ( ) => {
459+ it ( 'should use download terminology in pack download logs' , async ( ) => {
460460 cliResolver . getCliVersion . mockReturnValue ( '2.24.1' ) ;
461461 serverManager . getExtensionVersion . mockReturnValue ( '2.25.1-next.1' ) ;
462462
463463 await installer . installAll ( { languages : [ 'javascript' ] } ) ;
464464
465- // Should say "Installing " and "Installed ", not "Downloading " / "Downloaded "
465+ // Should say "Downloading " and "Downloaded ", not "Installing " / "Installed "
466466 expect ( logger . info ) . toHaveBeenCalledWith (
467- expect . stringContaining ( 'Installing advanced-security/ql-mcp-javascript-tools-src@2.24.1' ) ,
467+ expect . stringContaining ( 'Downloading advanced-security/ql-mcp-javascript-tools-src@2.24.1' ) ,
468468 ) ;
469469 expect ( logger . info ) . toHaveBeenCalledWith (
470- expect . stringContaining ( 'Installed advanced-security/ql-mcp-javascript-tools-src@2.24.1' ) ,
470+ expect . stringContaining ( 'Downloaded advanced-security/ql-mcp-javascript-tools-src@2.24.1' ) ,
471471 ) ;
472- // Should NOT use "Downloading " or "Downloaded " for individual packs
472+ // Should NOT use "Installing " or "Installed " for individual packs
473473 for ( const call of logger . info . mock . calls ) {
474- expect ( String ( call [ 0 ] ) ) . not . toMatch ( / ^ D o w n l o a d i n g a d v a n c e d - s e c u r i t y / ) ;
475- expect ( String ( call [ 0 ] ) ) . not . toMatch ( / ^ D o w n l o a d e d a d v a n c e d - s e c u r i t y / ) ;
474+ expect ( String ( call [ 0 ] ) ) . not . toMatch ( / ^ I n s t a l l i n g a d v a n c e d - s e c u r i t y / ) ;
475+ expect ( String ( call [ 0 ] ) ) . not . toMatch ( / ^ I n s t a l l e d a d v a n c e d - s e c u r i t y / ) ;
476476 }
477477 } ) ;
478478
0 commit comments