@nsshunt/ststestrunner 1.0.1 → 1.0.2

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.
@@ -8979,7 +8979,10 @@ class TestCaseFhirBase {
8979
8979
  await __privateGet(this, _PublishTelemetryData2).call(this);
8980
8980
  __privateSet(this, _publishTelemetryCount2, 0);
8981
8981
  __privateSet(this, _publishTelemetryTimeout2, null);
8982
- }, __privateGet(this, _publishTelemetryTimeoutVal2)).unref());
8982
+ }, __privateGet(this, _publishTelemetryTimeoutVal2)));
8983
+ if (isNode$2) {
8984
+ __privateGet(this, _publishTelemetryTimeout2).unref();
8985
+ }
8983
8986
  }
8984
8987
  });
8985
8988
  __publicField(this, "PublishTelemetry", async () => {
@@ -9087,7 +9090,11 @@ class TestCaseFhirBase {
9087
9090
  }
9088
9091
  SleepImmediate() {
9089
9092
  return new Promise((resolve, reject) => {
9090
- setImmediate(resolve);
9093
+ if (isNode$2) {
9094
+ setImmediate(resolve);
9095
+ } else {
9096
+ resolve();
9097
+ }
9091
9098
  });
9092
9099
  }
9093
9100
  async SleepImmediateEx() {