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