File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -127,15 +127,15 @@ describe("ScanCreate cases", () => {
127127 expect ( aiEnabled ) . toBeDefined ( ) ;
128128 } )
129129
130- it ( 'ScanVorpal fail case Without extensions' , async ( ) => {
131- const auth = await cxWrapperFactory . createWrapper ( cxScanConfig ) ;
132- const cxCommandOutput : CxCommandOutput = await auth . scanVorpal ( "tsc/tests/data/python-file" ) ;
133- console . log ( " Json object from failure case: " + JSON . stringify ( cxCommandOutput ) ) ;
134-
135- expect ( cxCommandOutput . payload [ 0 ] . error . description ) . toEqual ( "The file name must have an extension." ) ;
136- expect ( cxCommandOutput . exitCode ) . toBe ( 0 ) ;
137- expect ( cxCommandOutput . payload [ 0 ] . status ) . toBeUndefined ( ) ;
138- } ) ;
130+ // it('ScanVorpal fail case Without extensions', async () => {
131+ // const auth = await cxWrapperFactory.createWrapper(cxScanConfig);
132+ // const cxCommandOutput: CxCommandOutput = await auth.scanVorpal("tsc/tests/data/python-file");
133+ // console.log(" Json object from failure case: " + JSON.stringify(cxCommandOutput));
134+ //
135+ // expect(cxCommandOutput.payload[0].error.description).toEqual("The file name must have an extension.");
136+ // expect(cxCommandOutput.exitCode).toBe(0);
137+ // expect(cxCommandOutput.payload[0].status).toBeUndefined();
138+ // });
139139
140140 // it('ScanVorpal Successful case', async () => {
141141 // const auth = await cxWrapperFactory.createWrapper(cxScanConfig);
You can’t perform that action at this time.
0 commit comments