Skip to content

Commit 92af0b6

Browse files
committed
fix tests increase timeout
1 parent a1c8edf commit 92af0b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tests/ScanTest.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ describe("ScanCreate cases",() => {
77
let cxScanConfig = new BaseTest();
88
it('ScanList Successful case', async () => {
99
const auth = new CxWrapper(cxScanConfig);
10-
auth.scanList("").then((res)=>{
11-
expect(res.payload.length).toBeGreaterThan(0);
12-
});
10+
const cxCommandOutput: CxCommandOutput = await auth.scanList("");
11+
console.log(" Json object from scanList successful case: " + JSON.stringify(CxCommandOutput));
12+
expect(cxCommandOutput.payload.length).toBeGreaterThan(0);
1313
});
1414

1515
it('ScanCreate Successful case wait mode', async () => {

0 commit comments

Comments
 (0)