File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import * as util from '../src/util';
55
66describe ( 'cleanup' , ( ) => {
77 let spyWarning : jest . SpyInstance < void , Parameters < typeof core . warning > > ;
8+ let spyInfo : jest . SpyInstance < void , Parameters < typeof core . info > > ;
89 let spyCacheSave : jest . SpyInstance <
910 ReturnType < typeof cache . saveCache > ,
1011 Parameters < typeof cache . saveCache >
@@ -13,6 +14,9 @@ describe('cleanup', () => {
1314
1415 beforeEach ( ( ) => {
1516 spyWarning = jest . spyOn ( core , 'warning' ) ;
17+ spyWarning . mockImplementation ( ( ) => null ) ;
18+ spyInfo = jest . spyOn ( core , 'info' ) ;
19+ spyInfo . mockImplementation ( ( ) => null ) ;
1620 spyCacheSave = jest . spyOn ( cache , 'saveCache' ) ;
1721 spyJobStatusSuccess = jest . spyOn ( util , 'isJobStatusSuccess' ) ;
1822 spyJobStatusSuccess . mockReturnValue ( true ) ;
You can’t perform that action at this time.
0 commit comments