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