File tree Expand file tree Collapse file tree
src/tools/testmanagement-utils/TCG-utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -384,7 +384,6 @@ export async function bulkCreateTestCases(
384384 documentId : number ,
385385 config : BrowserStackConfig ,
386386) : Promise < string > {
387- const results : Record < string , any > = { } ;
388387 const total = Object . keys ( scenariosMap ) . length ;
389388 let doneCount = 0 ;
390389 let testCaseCount = 0 ;
@@ -415,15 +414,14 @@ export async function bulkCreateTestCases(
415414 } ;
416415
417416 try {
418- const resp = await apiClient . post ( {
417+ await apiClient . post ( {
419418 url : BULK_CREATE_URL_VALUE ,
420419 headers : {
421420 "API-TOKEN" : getBrowserStackAuth ( config ) ,
422421 "Content-Type" : "application/json" ,
423422 } ,
424423 body : payload ,
425424 } ) ;
426- results [ id ] = resp . data ;
427425 createdInScenario += batch . length ;
428426 } catch ( error ) {
429427 scenarioFailed = true ;
You can’t perform that action at this time.
0 commit comments