Skip to content

Commit 7bc5f9f

Browse files
author
cx-Margarita-LevitM
committed
Fix test
1 parent 17de017 commit 7bc5f9f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/tests/LearnMoreDescriptions.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ describe("LearnMoreDescriptions cases",() => {
1414

1515
it('LearnMoreDescriptions Failure case', async () => {
1616
const auth = new CxWrapper(cxScanConfig);
17-
const queryId = "";
18-
const data = await auth.learnMore(queryId !== undefined? queryId : "")
17+
const data = await auth.learnMore("")
1918
const cxCommandOutput: CxCommandOutput = data;
20-
expect(cxCommandOutput.status).toBe("Value of query-id is invalid\n");
19+
expect(cxCommandOutput.status).toBe("Value of query-id is invalid");
2120
})
2221
})

0 commit comments

Comments
 (0)