Skip to content

Commit 48ecb3b

Browse files
committed
Fix comment
1 parent 65379ee commit 48ecb3b

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
@@ -168,8 +168,8 @@ describe("ScanCreate cases", () => {
168168
});
169169

170170
it('ScanOss Successful case', async () => {
171-
const auth = new CxWrapper(cxScanConfig);
172-
const cxCommandOutput: CxCommandOutput = await auth.scanOss("tsc/tests/data/package.json");
171+
const wrapper = new CxWrapper(cxScanConfig);
172+
const cxCommandOutput: CxCommandOutput = await wrapper.scanOss("tsc/tests/data/package.json");
173173
console.log("Json object from scanOSS successful case: " + JSON.stringify(cxCommandOutput));
174174
expect(cxCommandOutput.payload).toBeDefined();
175175
expect(cxCommandOutput.exitCode).toBe(0);

0 commit comments

Comments
 (0)