We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65379ee commit 48ecb3bCopy full SHA for 48ecb3b
src/tests/ScanTest.test.ts
@@ -168,8 +168,8 @@ describe("ScanCreate cases", () => {
168
});
169
170
it('ScanOss Successful case', async () => {
171
- const auth = new CxWrapper(cxScanConfig);
172
- const cxCommandOutput: CxCommandOutput = await auth.scanOss("tsc/tests/data/package.json");
+ const wrapper = new CxWrapper(cxScanConfig);
+ const cxCommandOutput: CxCommandOutput = await wrapper.scanOss("tsc/tests/data/package.json");
173
console.log("Json object from scanOSS successful case: " + JSON.stringify(cxCommandOutput));
174
expect(cxCommandOutput.payload).toBeDefined();
175
expect(cxCommandOutput.exitCode).toBe(0);
0 commit comments