@@ -25,7 +25,7 @@ describe('gitFetch', () => {
2525 const logs = initMockLogs ( ) ;
2626
2727 /** To speed things up, some tests only check the arguments and skip the git operation */
28- const noOpSuccess = ( ) => ( { success : true , stdout : '' , stderr : '' , status : 0 } as GitProcessOutput ) ;
28+ const noOpSuccess = ( ) => ( { success : true , stdout : '' , stderr : '' , status : 0 } ) as GitProcessOutput ;
2929
3030 const { git : realGit , gitFailFast : _realGitFailFast } = jest . requireActual < typeof workspaceTools > ( 'workspace-tools' ) ;
3131 const gitFailFast : typeof _realGitFailFast = ( args , options ) =>
@@ -81,7 +81,7 @@ describe('gitFetch', () => {
8181
8282 it ( 'returns error but does not throw or log on failure by default' , ( ) => {
8383 // This test uses controlled non-localized fake stdio so we can test the whole output
84- gitOverride = ( ) => ( { success : false , stdout : 'some logs' , stderr : 'oh no' , status : 1 } as GitProcessOutput ) ;
84+ gitOverride = ( ) => ( { success : false , stdout : 'some logs' , stderr : 'oh no' , status : 1 } ) as GitProcessOutput ;
8585
8686 const res = gitFetch ( { cwd : repo . rootPath , remote : '' , branch : defaultBranchName } ) ;
8787 expect ( res ) . toMatchObject ( {
@@ -125,7 +125,7 @@ describe('gitFetch', () => {
125125 } ) ;
126126
127127 it ( 'logs git output with failed fetch if verbose is true' , ( ) => {
128- gitOverride = ( ) => ( { success : false , stdout : 'some logs' , stderr : 'oh no' , status : 1 } as GitProcessOutput ) ;
128+ gitOverride = ( ) => ( { success : false , stdout : 'some logs' , stderr : 'oh no' , status : 1 } ) as GitProcessOutput ;
129129
130130 const res = gitFetch ( { cwd : repo . rootPath , verbose : true , remote : '' , branch : defaultBranchName } ) ;
131131 expect ( gitSpy ) . toHaveBeenCalledWith ( [ 'fetch' ] , expect . anything ( ) ) ;
0 commit comments