@nsshunt/ststestrunner 1.1.132 → 1.1.134
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
|
@@ -1189,9 +1189,38 @@ var TestCaseFhirBase = class {
|
|
|
1189
1189
|
return true;
|
|
1190
1190
|
};
|
|
1191
1191
|
_GetDetail = () => {
|
|
1192
|
-
const
|
|
1192
|
+
const options = this.runner.options;
|
|
1193
|
+
const { runPrefix, testType, description } = options;
|
|
1193
1194
|
const { workerManagerId, iteration } = this.runner;
|
|
1194
|
-
|
|
1195
|
+
const rgbTable = [
|
|
1196
|
+
[
|
|
1197
|
+
0,
|
|
1198
|
+
100,
|
|
1199
|
+
255
|
|
1200
|
+
],
|
|
1201
|
+
[
|
|
1202
|
+
75,
|
|
1203
|
+
150,
|
|
1204
|
+
255
|
|
1205
|
+
],
|
|
1206
|
+
[
|
|
1207
|
+
150,
|
|
1208
|
+
180,
|
|
1209
|
+
255
|
|
1210
|
+
],
|
|
1211
|
+
[
|
|
1212
|
+
190,
|
|
1213
|
+
200,
|
|
1214
|
+
255
|
|
1215
|
+
],
|
|
1216
|
+
[
|
|
1217
|
+
210,
|
|
1218
|
+
230,
|
|
1219
|
+
255
|
|
1220
|
+
]
|
|
1221
|
+
];
|
|
1222
|
+
const rgbTableRow = rgbTable[options.workerIndex % rgbTable.length];
|
|
1223
|
+
return chalk.default.rgb(rgbTableRow[0], rgbTableRow[1], rgbTableRow[2])(`runPrefix: [${runPrefix}], testType: [${testType}], description: [${description}], workerManagerId: [${workerManagerId}], Iteration: [${iteration}]`);
|
|
1195
1224
|
};
|
|
1196
1225
|
_CheckOutputLongDurationError = (snapshotStart, message) => {
|
|
1197
1226
|
const snapShotEnd = performance.now();
|
|
@@ -1455,20 +1484,11 @@ var TestCaseFhir06 = class extends TestCaseFhirQueryBase {
|
|
|
1455
1484
|
const checkRetVal = { ...retVal.body };
|
|
1456
1485
|
const searchRetValCheck = {
|
|
1457
1486
|
resourceType: "Bundle",
|
|
1458
|
-
type: "searchset"
|
|
1459
|
-
total: 0,
|
|
1460
|
-
link: [{ relation: "self" }],
|
|
1461
|
-
entry: []
|
|
1487
|
+
type: "searchset"
|
|
1462
1488
|
};
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
delete checkRetVal.link[0].url;
|
|
1467
|
-
for (let i = 0; i < checkRetVal.entry.length; i++) {
|
|
1468
|
-
delete checkRetVal.entry[i].fullUrl;
|
|
1469
|
-
delete checkRetVal.entry[i].resource;
|
|
1470
|
-
delete checkRetVal.entry[i].search;
|
|
1471
|
-
}
|
|
1489
|
+
delete checkRetVal.total;
|
|
1490
|
+
delete checkRetVal.link;
|
|
1491
|
+
delete checkRetVal.entry;
|
|
1472
1492
|
this.CheckReturnData(searchRetValCheck, checkRetVal);
|
|
1473
1493
|
return retVal.body;
|
|
1474
1494
|
};
|