@nsshunt/ststestrunner 1.1.121 → 1.1.123
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.
package/dist/ststestrunner.mjs
CHANGED
|
@@ -2232,6 +2232,23 @@ var TestCaseFhir10 = class extends TestCaseFhirQueryBase {
|
|
|
2232
2232
|
console.log(personRecord);
|
|
2233
2233
|
console.log(retVal);
|
|
2234
2234
|
if (retVal.status === StatusCodes.UNAUTHORIZED) throw new Error("UNAUTHORIZED");
|
|
2235
|
+
delete personRecord.meta;
|
|
2236
|
+
delete retVal.body.meta;
|
|
2237
|
+
delete personRecord.text.div;
|
|
2238
|
+
delete retVal.body.text.div;
|
|
2239
|
+
const p1 = JSON.stringify(personRecord);
|
|
2240
|
+
const p2 = JSON.stringify(retVal.body);
|
|
2241
|
+
if (p1.localeCompare(p2) !== 0) {
|
|
2242
|
+
this.runner.instrumentData.errorCount++;
|
|
2243
|
+
console.log("");
|
|
2244
|
+
console.log(chalk.red(` ==> 10.1 ************************************************************************************************`));
|
|
2245
|
+
console.log(p1);
|
|
2246
|
+
console.log(chalk.red(`************************************************************************************************`));
|
|
2247
|
+
console.log(p2);
|
|
2248
|
+
console.log(chalk.red(`************************************************************************************************`));
|
|
2249
|
+
console.log("");
|
|
2250
|
+
process.exit(1);
|
|
2251
|
+
}
|
|
2235
2252
|
return retVal.body;
|
|
2236
2253
|
};
|
|
2237
2254
|
};
|