@@ -312,7 +312,7 @@ describe('runUpdatePreflight', () => {
312312 expect ( mocks . spawn ) . toHaveBeenCalledWith (
313313 expect . stringMatching ( / ^ n p m ( \. c m d ) ? $ / ) ,
314314 [ 'install' , '-g' , '@pythoughts/pythinker-code@0.5.0' ] ,
315- { detached : true , stdio : 'ignore' } ,
315+ { detached : true , windowsHide : false , stdio : 'ignore' } ,
316316 ) ;
317317 } ) ;
318318
@@ -576,6 +576,7 @@ describe('runUpdatePreflight', () => {
576576 ] ,
577577 {
578578 detached : true ,
579+ windowsHide : true ,
579580 stdio : 'ignore' ,
580581 env : expect . objectContaining ( { PYTHINKER_VERSION : '0.5.0' } ) ,
581582 } ,
@@ -633,7 +634,7 @@ describe('runUpdatePreflight', () => {
633634 expect ( mocks . spawn ) . toHaveBeenCalledWith (
634635 expect . stringMatching ( / ^ n p m ( \. c m d ) ? $ / ) ,
635636 [ 'install' , '-g' , '@pythoughts/pythinker-code@0.5.0' ] ,
636- { detached : true , stdio : 'ignore' } ,
637+ { detached : true , windowsHide : false , stdio : 'ignore' } ,
637638 ) ;
638639 expect ( writeUpdateInstallState ) . toHaveBeenCalledWith ( expect . objectContaining ( {
639640 active : expect . objectContaining ( {
@@ -816,7 +817,7 @@ describe('runUpdatePreflight', () => {
816817 expect ( mocks . spawn ) . toHaveBeenCalledWith (
817818 expect . stringMatching ( / ^ n p m ( \. c m d ) ? $ / ) ,
818819 [ 'install' , '-g' , '@pythoughts/pythinker-code@0.6.0' ] ,
819- { detached : true , stdio : 'ignore' } ,
820+ { detached : true , windowsHide : false , stdio : 'ignore' } ,
820821 ) ;
821822 } ) ;
822823
@@ -840,7 +841,7 @@ describe('runUpdatePreflight', () => {
840841 expect ( mocks . spawn ) . toHaveBeenCalledWith (
841842 expect . stringMatching ( / ^ n p m ( \. c m d ) ? $ / ) ,
842843 [ 'install' , '-g' , '@pythoughts/pythinker-code@0.6.0' ] ,
843- { detached : true , stdio : 'ignore' } ,
844+ { detached : true , windowsHide : false , stdio : 'ignore' } ,
844845 ) ;
845846 } ) ;
846847
@@ -864,7 +865,7 @@ describe('runUpdatePreflight', () => {
864865 expect ( mocks . spawn ) . toHaveBeenCalledWith (
865866 expect . stringMatching ( / ^ n p m ( \. c m d ) ? $ / ) ,
866867 [ 'install' , '-g' , '@pythoughts/pythinker-code@0.6.0' ] ,
867- { detached : true , stdio : 'ignore' } ,
868+ { detached : true , windowsHide : false , stdio : 'ignore' } ,
868869 ) ;
869870 } ) ;
870871
@@ -1017,7 +1018,7 @@ describe('runUpdatePreflight', () => {
10171018 expect ( mocks . spawn ) . toHaveBeenCalledWith (
10181019 expect . stringMatching ( / ^ n p m ( \. c m d ) ? $ / ) ,
10191020 [ 'install' , '-g' , '@pythoughts/pythinker-code@0.5.0' ] ,
1020- { detached : true , stdio : 'ignore' } ,
1021+ { detached : true , windowsHide : false , stdio : 'ignore' } ,
10211022 ) ;
10221023 } ) ;
10231024
@@ -1307,7 +1308,7 @@ describe('runUpdatePreflight', () => {
13071308 expect ( mocks . spawn ) . toHaveBeenCalledWith (
13081309 expect . stringMatching ( / ^ n p m ( \. c m d ) ? $ / ) ,
13091310 [ 'install' , '-g' , '@pythoughts/pythinker-code@0.5.0' ] ,
1310- { detached : true , stdio : 'ignore' } ,
1311+ { detached : true , windowsHide : false , stdio : 'ignore' } ,
13111312 ) ;
13121313 expect ( track ) . toHaveBeenCalledWith ( 'update_background_install_started' , expect . objectContaining ( {
13131314 target_version : '0.5.0' ,
@@ -1433,7 +1434,7 @@ describe('runUpdatePreflight', () => {
14331434 expect ( mocks . spawn ) . toHaveBeenCalledWith (
14341435 expect . stringMatching ( / ^ n p m ( \. c m d ) ? $ / ) ,
14351436 [ 'install' , '-g' , '@pythoughts/pythinker-code@0.5.0' ] ,
1436- { detached : true , stdio : 'ignore' } ,
1437+ { detached : true , windowsHide : false , stdio : 'ignore' } ,
14371438 ) ;
14381439 expect ( track ) . toHaveBeenCalledWith ( 'update_background_install_started' , expect . objectContaining ( {
14391440 target_version : '0.5.0' ,
0 commit comments