Loading __tests__/cleanup-java.test.ts +4 Changes for __tests__/cleanup-java.test.ts: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ import * as util from '../src/util'; describe('cleanup', () => { let spyWarning: jest.SpyInstance<void, Parameters<typeof core.warning>>; let spyInfo: jest.SpyInstance<void, Parameters<typeof core.info>>; let spyCacheSave: jest.SpyInstance< ReturnType<typeof cache.saveCache>, Parameters<typeof cache.saveCache> Loading @@ -13,6 +14,9 @@ describe('cleanup', () => { beforeEach(() => { spyWarning = jest.spyOn(core, 'warning'); spyWarning.mockImplementation(() => null); spyInfo = jest.spyOn(core, 'info'); spyInfo.mockImplementation(() => null); spyCacheSave = jest.spyOn(cache, 'saveCache'); spyJobStatusSuccess = jest.spyOn(util, 'isJobStatusSuccess'); spyJobStatusSuccess.mockReturnValue(true); Loading Loading
__tests__/cleanup-java.test.ts +4 Changes for __tests__/cleanup-java.test.ts: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ import * as util from '../src/util'; describe('cleanup', () => { let spyWarning: jest.SpyInstance<void, Parameters<typeof core.warning>>; let spyInfo: jest.SpyInstance<void, Parameters<typeof core.info>>; let spyCacheSave: jest.SpyInstance< ReturnType<typeof cache.saveCache>, Parameters<typeof cache.saveCache> Loading @@ -13,6 +14,9 @@ describe('cleanup', () => { beforeEach(() => { spyWarning = jest.spyOn(core, 'warning'); spyWarning.mockImplementation(() => null); spyInfo = jest.spyOn(core, 'info'); spyInfo.mockImplementation(() => null); spyCacheSave = jest.spyOn(cache, 'saveCache'); spyJobStatusSuccess = jest.spyOn(util, 'isJobStatusSuccess'); spyJobStatusSuccess.mockReturnValue(true); Loading