File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ describe("Triage cases", () => {
1919 if ( output ?. status === "Error in the json file." ) {
2020 output = undefined ;
2121 } else {
22- result = output ?. payload ?. find ( res => res . type === CxConstants . SAST ) ;
22+ result = output ?. payload ?. find ( ( res : CxResult ) => res . type === CxConstants . SAST ) ;
2323 if ( ! result ?. similarityId ) {
2424 output = undefined ;
2525 }
@@ -30,7 +30,7 @@ describe("Triage cases", () => {
3030 const scanShow = await auth . scanShow ( "d4354650-4ee1-4e10-9b1d-0feaf6c187a7" ) ;
3131 scan = scanShow ?. payload ?. pop ( ) ;
3232 output = await auth . getResultsList ( scan . id ) ;
33- result = output ?. payload ?. find ( res => res . type === CxConstants . SAST ) ;
33+ result = output ?. payload ?. find ( ( res : CxResult ) => res . type === CxConstants . SAST ) ;
3434 }
3535
3636 return { scan, result } ;
You can’t perform that action at this time.
0 commit comments