@nsshunt/ststestrunner 1.1.123 → 1.1.125
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 +12 -2
- package/dist/ststestrunner.cjs.map +1 -1
- package/dist/ststestrunner.mjs +12 -2
- package/dist/ststestrunner.mjs.map +1 -1
- package/package.json +1 -1
- package/types/libmodule/testCaseFhir06.d.ts.map +1 -1
- package/types/libmodule/testCaseFhir07.d.ts.map +1 -1
- package/types/libmodule/testCaseFhir08.d.ts.map +1 -1
- package/types/libmodule/testCaseFhir09.d.ts.map +1 -1
- package/types/libmodule/testCaseFhir10.d.ts.map +1 -1
package/dist/ststestrunner.mjs
CHANGED
|
@@ -1497,6 +1497,9 @@ var TestCaseFhir06 = class extends TestCaseFhirQueryBase {
|
|
|
1497
1497
|
this._CheckOutputLongDurationError(__snapshot3, "await this.GetResources()");
|
|
1498
1498
|
if (retVal.status === StatusCodes.UNAUTHORIZED) throw new Error("UNAUTHORIZED");
|
|
1499
1499
|
}
|
|
1500
|
+
console.log("06");
|
|
1501
|
+
console.log(personRecord);
|
|
1502
|
+
console.log(retVal.body);
|
|
1500
1503
|
return retVal.body;
|
|
1501
1504
|
};
|
|
1502
1505
|
};
|
|
@@ -2166,6 +2169,9 @@ var TestCaseFhir07 = class extends TestCaseFhirQueryBase {
|
|
|
2166
2169
|
const retValPatched = await client.PatchResource("Person", personRecord.id, patchRecord, `application/json-patch+json`, `W/"3"`);
|
|
2167
2170
|
this._CheckOutputLongDurationError(__snapshot4, "await this.PatchResource()");
|
|
2168
2171
|
if (retValPatched.status === StatusCodes.UNAUTHORIZED) throw new Error("UNAUTHORIZED");
|
|
2172
|
+
console.log("07");
|
|
2173
|
+
console.log(personRecord);
|
|
2174
|
+
console.log(retValPatched.body);
|
|
2169
2175
|
return retValPatched.body;
|
|
2170
2176
|
};
|
|
2171
2177
|
};
|
|
@@ -2186,6 +2192,9 @@ var TestCaseFhir08 = class extends TestCaseFhirQueryBase {
|
|
|
2186
2192
|
const retValPatched = await client.PatchResource("Person", personRecord.id, resource, `application/merge-patch+json`, `W/"4"`);
|
|
2187
2193
|
this._CheckOutputLongDurationError(__snapshot4, "await this.PatchResource()");
|
|
2188
2194
|
if (retValPatched.status === StatusCodes.UNAUTHORIZED) throw new Error("UNAUTHORIZED");
|
|
2195
|
+
console.log("08");
|
|
2196
|
+
console.log(personRecord);
|
|
2197
|
+
console.log(retValPatched.body);
|
|
2189
2198
|
return retValPatched.body;
|
|
2190
2199
|
};
|
|
2191
2200
|
};
|
|
@@ -2202,6 +2211,9 @@ var TestCaseFhir09 = class extends TestCaseFhirQueryBase {
|
|
|
2202
2211
|
const retVal = await client.DeleteResource("Person", personRecord.id, `W/"5"`);
|
|
2203
2212
|
this._CheckOutputLongDurationError(__snapshot3, "await this.DeleteResource()");
|
|
2204
2213
|
if (retVal.status === StatusCodes.UNAUTHORIZED) throw new Error("UNAUTHORIZED");
|
|
2214
|
+
console.log("09");
|
|
2215
|
+
console.log(personRecord);
|
|
2216
|
+
console.log(retVal.body);
|
|
2205
2217
|
return retVal.body;
|
|
2206
2218
|
} catch (error) {
|
|
2207
2219
|
if (axios.isAxiosError(error)) {
|
|
@@ -2229,8 +2241,6 @@ var TestCaseFhir10 = class extends TestCaseFhirQueryBase {
|
|
|
2229
2241
|
const __snapshot3 = this._CheckOutputLongDurationError(__snapshot2, "await this.GetPersonRecord()");
|
|
2230
2242
|
const retVal = await client.GetHistoryInstanceFhirResource("Person", personRecord.id, "2");
|
|
2231
2243
|
this._CheckOutputLongDurationError(__snapshot3, "await this.GetHistoryInstanceFhirResource()");
|
|
2232
|
-
console.log(personRecord);
|
|
2233
|
-
console.log(retVal);
|
|
2234
2244
|
if (retVal.status === StatusCodes.UNAUTHORIZED) throw new Error("UNAUTHORIZED");
|
|
2235
2245
|
delete personRecord.meta;
|
|
2236
2246
|
delete retVal.body.meta;
|