@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.
@@ -449,7 +449,9 @@ var TestCaseFhirBase = class {
449
449
  await this.#ForcePublishTelemetryData();
450
450
  if (this.fhirClient) {
451
451
  this.Debug(chalk.default.magenta(`TestCaseFhirBase:StopRunner(): Calling: [fhirClient.ResetSocket()]`));
452
+ this.fhirClient.ResetSocket();
452
453
  await (0, _nsshunt_stsutils.Sleep)(100);
454
+ this.fhirClient = null;
453
455
  }
454
456
  return true;
455
457
  };
@@ -458,7 +460,9 @@ var TestCaseFhirBase = class {
458
460
  await this.#ForcePublishTelemetryData();
459
461
  if (this.fhirClient) {
460
462
  this.Debug(chalk.default.magenta(`TestCaseFhirBase:TerminateRunner(): Calling: [fhirClient.ResetSocket()]`));
463
+ this.fhirClient.ResetSocket();
461
464
  await (0, _nsshunt_stsutils.Sleep)(100);
465
+ this.fhirClient = null;
462
466
  }
463
467
  return true;
464
468
  };
@@ -469,7 +473,9 @@ var TestCaseFhirBase = class {
469
473
  await this.#ForcePublishTelemetryData();
470
474
  if (this.fhirClient) {
471
475
  this.Debug(chalk.default.magenta(`TestCaseFhirBase:Completed(): Calling: [fhirClient.ResetSocket()]`));
476
+ this.fhirClient.ResetSocket();
472
477
  await (0, _nsshunt_stsutils.Sleep)(100);
478
+ this.fhirClient = null;
473
479
  }
474
480
  return true;
475
481
  };
@@ -488,7 +494,9 @@ var TestCaseFhirBase = class {
488
494
  await this.#ForcePublishTelemetryData();
489
495
  if (this.fhirClient) {
490
496
  this.Debug(chalk.default.magenta(`TestCaseFhirBase:ResetRunner(): Calling: [fhirClient.ResetSocket()]`));
497
+ this.fhirClient.ResetSocket();
491
498
  await (0, _nsshunt_stsutils.Sleep)(100);
499
+ this.fhirClient = null;
492
500
  }
493
501
  return true;
494
502
  };