@@ -45,7 +45,7 @@ test("init-post action with debug mode off", async (t) => {
4545 const uploadAllAvailableDebugArtifactsSpy = sinon . spy ( ) ;
4646 const printDebugLogsSpy = sinon . spy ( ) ;
4747
48- await initActionPostHelper . run (
48+ await initActionPostHelper . uploadFailureInfo (
4949 uploadAllAvailableDebugArtifactsSpy ,
5050 printDebugLogsSpy ,
5151 codeql . createStubCodeQL ( { } ) ,
@@ -68,7 +68,7 @@ test("init-post action with debug mode on", async (t) => {
6868 const uploadAllAvailableDebugArtifactsSpy = sinon . spy ( ) ;
6969 const printDebugLogsSpy = sinon . spy ( ) ;
7070
71- await initActionPostHelper . run (
71+ await initActionPostHelper . uploadFailureInfo (
7272 uploadAllAvailableDebugArtifactsSpy ,
7373 printDebugLogsSpy ,
7474 codeql . createStubCodeQL ( { } ) ,
@@ -332,7 +332,7 @@ test("saves overlay status when overlay-base analysis did not complete successfu
332332
333333 const stubCodeQL = codeql . createStubCodeQL ( { } ) ;
334334
335- await initActionPostHelper . run (
335+ await initActionPostHelper . uploadFailureInfo (
336336 sinon . spy ( ) ,
337337 sinon . spy ( ) ,
338338 stubCodeQL ,
@@ -392,7 +392,7 @@ test("does not save overlay status when OverlayAnalysisStatusSave feature flag i
392392 . stub ( overlayStatus , "saveOverlayStatus" )
393393 . resolves ( true ) ;
394394
395- await initActionPostHelper . run (
395+ await initActionPostHelper . uploadFailureInfo (
396396 sinon . spy ( ) ,
397397 sinon . spy ( ) ,
398398 codeql . createStubCodeQL ( { } ) ,
@@ -429,7 +429,7 @@ test("does not save overlay status when build successful", async (t) => {
429429 . stub ( overlayStatus , "saveOverlayStatus" )
430430 . resolves ( true ) ;
431431
432- await initActionPostHelper . run (
432+ await initActionPostHelper . uploadFailureInfo (
433433 sinon . spy ( ) ,
434434 sinon . spy ( ) ,
435435 codeql . createStubCodeQL ( { } ) ,
@@ -465,7 +465,7 @@ test("does not save overlay status when overlay not enabled", async (t) => {
465465 . stub ( overlayStatus , "saveOverlayStatus" )
466466 . resolves ( true ) ;
467467
468- await initActionPostHelper . run (
468+ await initActionPostHelper . uploadFailureInfo (
469469 sinon . spy ( ) ,
470470 sinon . spy ( ) ,
471471 codeql . createStubCodeQL ( { } ) ,
0 commit comments