Skip to content

Commit 039dbd0

Browse files
committed
fix: removal of deadcode
1 parent ea3718a commit 039dbd0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • src/tools/testmanagement-utils/TCG-utils

src/tools/testmanagement-utils/TCG-utils/api.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)