@nsshunt/ststestrunner 1.1.49 → 1.1.50

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.
@@ -156,14 +156,12 @@ var TestCaseFhirBase = class {
156
156
  GetFhirSocketClient = async () => {
157
157
  try {
158
158
  this.#clientSocketFetchCount++;
159
- if (this.fhirClient) {
160
- if (this.#clientSocketFetchCount % this.#resetSocketClientTrigger === 0) {
161
- this.fhirClient.ResetSocket();
162
- await (0, _nsshunt_stsutils.Sleep)(3500);
163
- this.fhirClient = null;
164
- return this.GetFhirSocketClient();
165
- }
166
- }
159
+ if (this.fhirClient) if (this.#clientSocketFetchCount % this.#resetSocketClientTrigger === 0) {
160
+ this.fhirClient.ResetSocket();
161
+ await (0, _nsshunt_stsutils.Sleep)(3500);
162
+ this.fhirClient = null;
163
+ return this.GetFhirSocketClient();
164
+ } else return this.fhirClient;
167
165
  const fhirOptions = this.#options.fhirOptions;
168
166
  const options = {
169
167
  fhirServerEndpoint: fhirOptions.stsfhirserverendpoint,