@nsshunt/ststestrunner 1.1.120 → 1.1.122

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.
@@ -2229,7 +2229,24 @@ var TestCaseFhir10 = class extends TestCaseFhirQueryBase {
2229
2229
  const __snapshot3 = this._CheckOutputLongDurationError(__snapshot2, "await this.GetPersonRecord()");
2230
2230
  const retVal = await client.GetHistoryInstanceFhirResource("Person", personRecord.id, "2");
2231
2231
  this._CheckOutputLongDurationError(__snapshot3, "await this.GetHistoryInstanceFhirResource()");
2232
+ console.log(personRecord);
2233
+ console.log(retVal);
2232
2234
  if (retVal.status === StatusCodes.UNAUTHORIZED) throw new Error("UNAUTHORIZED");
2235
+ delete personRecord.meta;
2236
+ delete retVal.body.meta;
2237
+ const p1 = JSON.stringify(personRecord);
2238
+ const p2 = JSON.stringify(retVal.body);
2239
+ if (p1.localeCompare(p2) !== 0) {
2240
+ this.runner.instrumentData.errorCount++;
2241
+ console.log("");
2242
+ console.log(chalk.red(` ==> 10.1 ************************************************************************************************`));
2243
+ console.log(p1);
2244
+ console.log(chalk.red(`************************************************************************************************`));
2245
+ console.log(p2);
2246
+ console.log(chalk.red(`************************************************************************************************`));
2247
+ console.log("");
2248
+ process.exit(1);
2249
+ }
2233
2250
  return retVal.body;
2234
2251
  };
2235
2252
  };