@@ -183,7 +183,7 @@ describe("ScanCreate cases", () => {
183183 expect ( cxCommandOutput . exitCode ) . toBe ( 0 ) ;
184184 } ) ;
185185
186- it . skip ( 'ScanOss with ignored package should filter results' , async ( ) => {
186+ it ( 'ScanOss with ignored package should filter results' , async ( ) => {
187187 const wrapper = new CxWrapper ( cxScanConfig ) ;
188188 const sourceFile = "tsc/tests/data/package.json" ;
189189 const ignoredFile = "tsc/tests/data/checkmarxIgnoredTempFile.json" ;
@@ -213,7 +213,7 @@ describe("ScanCreate cases", () => {
213213 expect ( cxCommandOutput . exitCode ) . toBe ( 0 ) ;
214214 } ) ;
215215
216- it . skip ( 'ScanSecrets with ignore file filters the result' , async ( ) => {
216+ it ( 'ScanSecrets with ignore file filters the result' , async ( ) => {
217217 const wrapper = new CxWrapper ( cxScanConfig ) ;
218218 const cxCommandOutput : CxCommandOutput = await wrapper . secretsScanResults (
219219 "src/tests/data/secret-exposed.txt" ,
@@ -223,7 +223,7 @@ describe("ScanCreate cases", () => {
223223 console . log ( "Json object from scanSecrets with ignore file: " + JSON . stringify ( cxCommandOutput ) ) ;
224224 expect ( cxCommandOutput . payload ) . toBeDefined ( ) ;
225225 expect ( Array . isArray ( cxCommandOutput . payload ) ) . toBe ( true ) ;
226- expect ( cxCommandOutput . payload . length ) . toBe ( 0 ) ;
226+ expect ( cxCommandOutput . payload . pop ( ) . length ) . toBe ( 0 ) ;
227227 expect ( cxCommandOutput . exitCode ) . toBe ( 0 ) ;
228228} ) ;
229229
0 commit comments