Skip to content

Commit 422aa62

Browse files
committed
Update ScanSecrets test case to use correct file path and enable the test
1 parent 8ca3cd4 commit 422aa62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/ScanTest.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ describe("ScanCreate cases", () => {
184184

185185
it.skip('ScanSecrets Successful case', async () => {
186186
const wrapper = new CxWrapper(cxScanConfig);
187-
const cxCommandOutput: CxCommandOutput = await wrapper.secretsScanResults("tsc/tests/data/secret-exposed.txt");
187+
const cxCommandOutput: CxCommandOutput = await wrapper.secretsScanResults("src/tests/data/secret-exposed.txt");
188188
console.log("Json object from scanOSS successful case: " + JSON.stringify(cxCommandOutput));
189189
expect(cxCommandOutput.payload).toBeDefined();
190190
expect(cxCommandOutput.exitCode).toBe(0);

0 commit comments

Comments
 (0)