@nsshunt/ststestrunner 1.1.145 → 1.1.146
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 +2 -2
- package/dist/ststestrunner.cjs.map +1 -1
- package/dist/ststestrunner.mjs +2 -2
- package/dist/ststestrunner.mjs.map +1 -1
- package/package.json +1 -1
- package/types/commonTypes.d.ts +1 -0
- package/types/commonTypes.d.ts.map +1 -1
- package/types/libmodule/testCaseFhir02.d.ts +0 -1
- package/types/libmodule/testCaseFhir02.d.ts.map +1 -1
package/dist/ststestrunner.cjs
CHANGED
|
@@ -1449,7 +1449,6 @@ var TestCaseFhir01 = class extends TestCaseFhirQueryBase {
|
|
|
1449
1449
|
//#endregion
|
|
1450
1450
|
//#region src/libmodule/testCaseFhir02.ts
|
|
1451
1451
|
var TestCaseFhir02 = class extends TestCaseFhirQueryBase {
|
|
1452
|
-
blockSize = 2;
|
|
1453
1452
|
bundleBatch;
|
|
1454
1453
|
personRecords = [];
|
|
1455
1454
|
PerformExecuteQuery = async () => {
|
|
@@ -1457,6 +1456,7 @@ var TestCaseFhir02 = class extends TestCaseFhirQueryBase {
|
|
|
1457
1456
|
const client = await this.GetClient();
|
|
1458
1457
|
const __snapshot2 = this._CheckOutputLongDurationError(__snapshot1, "await this.GetClient()");
|
|
1459
1458
|
const prefix = this.runner.options.personPrefix;
|
|
1459
|
+
const bundleSize = this.runner.options.bundleSize;
|
|
1460
1460
|
if (this.runner.iteration === 0) this.bundleBatch = {
|
|
1461
1461
|
"resourceType": "Bundle",
|
|
1462
1462
|
"type": "transaction",
|
|
@@ -1474,7 +1474,7 @@ var TestCaseFhir02 = class extends TestCaseFhirQueryBase {
|
|
|
1474
1474
|
}
|
|
1475
1475
|
});
|
|
1476
1476
|
let retVal = void 0;
|
|
1477
|
-
if (this.runner.iteration %
|
|
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
1480
|
this.bundleBatch.entry = [];
|