@nsshunt/ststestrunner 1.1.168 → 1.1.170

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.
@@ -1510,7 +1510,6 @@ var TestCaseFhir02 = class extends TestCaseFhirQueryBase {
1510
1510
  this.bundleBatch.entry = [];
1511
1511
  this.personRecords = [];
1512
1512
  }
1513
- await Sleep(500);
1514
1513
  return personRecord;
1515
1514
  };
1516
1515
  };
@@ -2375,12 +2374,20 @@ var TestCaseFhir09 = class extends TestCaseFhirQueryBase {
2375
2374
  const retVal = await client.GetHistoryInstanceFhirResource("Person", personRecord.id, "2");
2376
2375
  this._CheckOutputLongDurationError(__snapshot3, "await this.GetHistoryInstanceFhirResource()");
2377
2376
  if (retVal.status === StatusCodes.UNAUTHORIZED) throw new Error("UNAUTHORIZED");
2378
- delete personRecord.meta;
2379
- delete retVal.body.meta;
2380
- delete personRecord.text.div;
2381
- delete retVal.body.text.div;
2382
- this.CheckReturnData(personRecord, retVal.body);
2383
- return retVal.body;
2377
+ try {
2378
+ delete personRecord.meta;
2379
+ delete retVal.body.meta;
2380
+ delete personRecord.text.div;
2381
+ delete retVal.body.text.div;
2382
+ this.CheckReturnData(personRecord, retVal.body);
2383
+ 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
+ }
2384
2391
  };
2385
2392
  };
2386
2393
  //#endregion