@nsshunt/ststestrunner 1.1.170 → 1.1.171

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.
@@ -2379,19 +2379,14 @@ var TestCaseFhir09 = class extends TestCaseFhirQueryBase {
2379
2379
  const retVal = await client.GetHistoryInstanceFhirResource("Person", personRecord.id, "2");
2380
2380
  this._CheckOutputLongDurationError(__snapshot3, "await this.GetHistoryInstanceFhirResource()");
2381
2381
  if (retVal.status === StatusCodes.UNAUTHORIZED) throw new Error("UNAUTHORIZED");
2382
- try {
2382
+ if (retVal.status === StatusCodes.GONE) return null;
2383
+ else {
2383
2384
  delete personRecord.meta;
2384
2385
  delete retVal.body.meta;
2385
2386
  delete personRecord.text.div;
2386
2387
  delete retVal.body.text.div;
2387
2388
  this.CheckReturnData(personRecord, retVal.body);
2388
2389
  return retVal.body;
2389
- } catch (error) {
2390
- console.error(error);
2391
- console.log(personRecord);
2392
- console.log(retVal.status);
2393
- console.log(retVal.body);
2394
- process.exit(1);
2395
2390
  }
2396
2391
  };
2397
2392
  };