File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -93,11 +93,12 @@ describe("Results cases", () => {
9393 ) ;
9494
9595 const str = JSON . stringify ( cxCommandOutput ) ;
96+ console . log ( "Risk Management Result 1: " + str ) ;
9697 console . log ( "Risk Management Exit code 1: " + cxCommandOutput . exitCode ) ;
97- console . log ( "Risk Management Results 1: " + str ) ;
98+ console . log ( "Risk Management payload 1: " + cxCommandOutput . payload ) ;
9899
99100 expect ( cxCommandOutput . exitCode ) . toBe ( 0 ) ;
100- expect ( str ) . toBeGreaterThan ( 0 ) ;
101+ expect ( Object . keys ( cxCommandOutput . payload ) . length ) . toBeGreaterThan ( 0 ) ;
101102 } ) ;
102103
103104
@@ -113,11 +114,12 @@ describe("Results cases", () => {
113114 ) ;
114115
115116 const str = JSON . stringify ( cxCommandOutput ) ;
117+ console . log ( "Risk Management Result 2: " + str ) ;
116118 console . log ( "Risk Management Exit code 2: " + cxCommandOutput . exitCode ) ;
117- console . log ( "Risk Management Results 2: " + str ) ;
119+ console . log ( "Risk Management payload 2: " + cxCommandOutput . payload ) ;
118120
119121 expect ( cxCommandOutput . exitCode ) . toBe ( 0 ) ;
120- expect ( str ) . toBeGreaterThan ( 0 ) ;
122+ expect ( Object . keys ( cxCommandOutput . payload ) . length ) . toBeGreaterThan ( 0 ) ;
121123 } ) ;
122124} ) ;
123125
You can’t perform that action at this time.
0 commit comments