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';
5
5
6
6
describe ( 'cleanup' , ( ) => {
7
7
let spyWarning : jest . SpyInstance < void , Parameters < typeof core . warning > > ;
8
+ let spyInfo : jest . SpyInstance < void , Parameters < typeof core . info > > ;
8
9
let spyCacheSave : jest . SpyInstance <
9
10
ReturnType < typeof cache . saveCache > ,
10
11
Parameters < typeof cache . saveCache >
@@ -13,6 +14,9 @@ describe('cleanup', () => {
13
14
14
15
beforeEach ( ( ) => {
15
16
spyWarning = jest . spyOn ( core , 'warning' ) ;
17
+ spyWarning . mockImplementation ( ( ) => null ) ;
18
+ spyInfo = jest . spyOn ( core , 'info' ) ;
19
+ spyInfo . mockImplementation ( ( ) => null ) ;
16
20
spyCacheSave = jest . spyOn ( cache , 'saveCache' ) ;
17
21
spyJobStatusSuccess = jest . spyOn ( util , 'isJobStatusSuccess' ) ;
18
22
spyJobStatusSuccess . mockReturnValue ( true ) ;
You can’t perform that action at this time.
0 commit comments