Skip to content

Commit e84e576

Browse files
committed
fix tests increase timeout
1 parent 0f9330c commit e84e576

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests/ScanTest.test.ts

Lines changed: 2 additions & 2 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-
const cxCommandOutput: CxCommandOutput = await auth.scanList("limit=25");
10+
const cxCommandOutput: CxCommandOutput = await auth.scanList("");
1111
console.log(" Json object from scanList successful case: " + JSON.stringify(cxCommandOutput));
12-
expect(cxCommandOutput.payload.length).toBeGreaterThan(0);
12+
expect(cxCommandOutput.exitCode).toBe(0);
1313
});
1414

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

0 commit comments

Comments
 (0)