@dev-blinq/cucumber_client 1.0.1436-dev → 1.0.1437-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -265,8 +265,8 @@ export class BVTStepRunner {
|
|
|
265
265
|
|
|
266
266
|
for (const cmdId of cmdIDs) {
|
|
267
267
|
this.liveExecutionMap.set(cmdId, {
|
|
268
|
-
resolve: () => {},
|
|
269
|
-
reject: () => {},
|
|
268
|
+
resolve: () => { },
|
|
269
|
+
reject: () => { },
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
272
|
|
|
@@ -380,13 +380,18 @@ export class BVTStepRunner {
|
|
|
380
380
|
this.#currentStepController = null;
|
|
381
381
|
global.__BVT_STEP_ABORT_SIGNAL = null;
|
|
382
382
|
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
const
|
|
387
|
-
if (
|
|
388
|
-
|
|
383
|
+
|
|
384
|
+
try {
|
|
385
|
+
// Clean up temp folder
|
|
386
|
+
const __temp_features_FolderName = process.env.tempFeaturesFolderPath;
|
|
387
|
+
if (__temp_features_FolderName) {
|
|
388
|
+
const tempFolderPath = path.join(this.projectDir, __temp_features_FolderName);
|
|
389
|
+
if (fs.existsSync(tempFolderPath)) {
|
|
390
|
+
fs.rmSync(tempFolderPath, { recursive: true });
|
|
391
|
+
}
|
|
389
392
|
}
|
|
393
|
+
} catch (error) {
|
|
394
|
+
console.error("Error cleaning up temp folder", error);
|
|
390
395
|
}
|
|
391
396
|
}
|
|
392
397
|
}
|