@nsshunt/ststestrunner 1.1.58 → 1.1.59

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.
@@ -426,7 +426,9 @@ var TestCaseFhirBase = class {
426
426
  await this.#ForcePublishTelemetryData();
427
427
  if (this.fhirClient) {
428
428
  this.Debug(chalk.magenta(`TestCaseFhirBase:StopRunner(): Calling: [fhirClient.ResetSocket()]`));
429
+ this.fhirClient.ResetSocket();
429
430
  await Sleep(100);
431
+ this.fhirClient = null;
430
432
  }
431
433
  return true;
432
434
  };
@@ -435,7 +437,9 @@ var TestCaseFhirBase = class {
435
437
  await this.#ForcePublishTelemetryData();
436
438
  if (this.fhirClient) {
437
439
  this.Debug(chalk.magenta(`TestCaseFhirBase:TerminateRunner(): Calling: [fhirClient.ResetSocket()]`));
440
+ this.fhirClient.ResetSocket();
438
441
  await Sleep(100);
442
+ this.fhirClient = null;
439
443
  }
440
444
  return true;
441
445
  };
@@ -446,7 +450,9 @@ var TestCaseFhirBase = class {
446
450
  await this.#ForcePublishTelemetryData();
447
451
  if (this.fhirClient) {
448
452
  this.Debug(chalk.magenta(`TestCaseFhirBase:Completed(): Calling: [fhirClient.ResetSocket()]`));
453
+ this.fhirClient.ResetSocket();
449
454
  await Sleep(100);
455
+ this.fhirClient = null;
450
456
  }
451
457
  return true;
452
458
  };
@@ -465,7 +471,9 @@ var TestCaseFhirBase = class {
465
471
  await this.#ForcePublishTelemetryData();
466
472
  if (this.fhirClient) {
467
473
  this.Debug(chalk.magenta(`TestCaseFhirBase:ResetRunner(): Calling: [fhirClient.ResetSocket()]`));
474
+ this.fhirClient.ResetSocket();
468
475
  await Sleep(100);
476
+ this.fhirClient = null;
469
477
  }
470
478
  return true;
471
479
  };