Skip to content

Commit

Permalink
fix tests increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagobcx committed Nov 11, 2021
1 parent eb83445 commit 568ed1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tests/ScanTest.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ describe("ScanCreate cases",() => {
params.set(CxParamType.FILTER, "*.ts,!**/node_modules/**/*");
params.set(CxParamType.BRANCH, "master");
const auth = new CxWrapper(cxScanConfig);
const cxCommandOutput: CxCommandOutput = await auth.scanCreate(params);
const data = await auth.scanCreate(params);
const cxCommandOutput: CxCommandOutput = data;
const scanObject = cxCommandOutput.payload.pop();
const scanShowObject = await auth.scanShow(scanObject.ID);
console.log(" Json object from successful wait mode case: " + JSON.stringify(scanShowObject));
Expand Down

0 comments on commit 568ed1b

Please sign in to comment.