@nsshunt/ststestrunner 1.1.121 → 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.
package/dist/ststestrunner.cjs
CHANGED
|
@@ -2237,6 +2237,21 @@ var TestCaseFhir10 = class extends TestCaseFhirQueryBase {
|
|
|
2237
2237
|
console.log(personRecord);
|
|
2238
2238
|
console.log(retVal);
|
|
2239
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
|
+
}
|
|
2240
2255
|
return retVal.body;
|
|
2241
2256
|
};
|
|
2242
2257
|
};
|