@nsshunt/ststestrunner 1.1.149 → 1.1.150
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
|
@@ -1477,11 +1477,9 @@ var TestCaseFhir02 = class extends TestCaseFhirQueryBase {
|
|
|
1477
1477
|
if (this.runner.iteration % bundleSize === bundleSize - 1) {
|
|
1478
1478
|
retVal = await client.ProcessBatchOrTransactionResources(this.bundleBatch);
|
|
1479
1479
|
this._CheckOutputLongDurationError(__snapshot3, "await this.PostResource()");
|
|
1480
|
-
this.bundleBatch.entry = [];
|
|
1481
1480
|
} else if (this.runner.iteration === this.runner.options.executionProfile.iterations - 1) {
|
|
1482
1481
|
retVal = await client.ProcessBatchOrTransactionResources(this.bundleBatch);
|
|
1483
1482
|
this._CheckOutputLongDurationError(__snapshot3, "await this.PostResource()");
|
|
1484
|
-
this.bundleBatch.entry = [];
|
|
1485
1483
|
}
|
|
1486
1484
|
if (retVal && retVal.status === StatusCodes.UNAUTHORIZED) throw new Error("UNAUTHORIZED");
|
|
1487
1485
|
if (retVal) {
|
|
@@ -1492,6 +1490,7 @@ var TestCaseFhir02 = class extends TestCaseFhirQueryBase {
|
|
|
1492
1490
|
delete retPersonData.meta;
|
|
1493
1491
|
this.CheckReturnData(personRecord, retPersonData);
|
|
1494
1492
|
}
|
|
1493
|
+
this.bundleBatch.entry = [];
|
|
1495
1494
|
this.personRecords = [];
|
|
1496
1495
|
}
|
|
1497
1496
|
return personRecord;
|