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