@nsshunt/ststestrunner 1.1.133 → 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.mjs
CHANGED
|
@@ -1184,9 +1184,38 @@ var TestCaseFhirBase = class {
|
|
|
1184
1184
|
return true;
|
|
1185
1185
|
};
|
|
1186
1186
|
_GetDetail = () => {
|
|
1187
|
-
const
|
|
1187
|
+
const options = this.runner.options;
|
|
1188
|
+
const { runPrefix, testType, description } = options;
|
|
1188
1189
|
const { workerManagerId, iteration } = this.runner;
|
|
1189
|
-
|
|
1190
|
+
const rgbTable = [
|
|
1191
|
+
[
|
|
1192
|
+
0,
|
|
1193
|
+
100,
|
|
1194
|
+
255
|
|
1195
|
+
],
|
|
1196
|
+
[
|
|
1197
|
+
75,
|
|
1198
|
+
150,
|
|
1199
|
+
255
|
|
1200
|
+
],
|
|
1201
|
+
[
|
|
1202
|
+
150,
|
|
1203
|
+
180,
|
|
1204
|
+
255
|
|
1205
|
+
],
|
|
1206
|
+
[
|
|
1207
|
+
190,
|
|
1208
|
+
200,
|
|
1209
|
+
255
|
|
1210
|
+
],
|
|
1211
|
+
[
|
|
1212
|
+
210,
|
|
1213
|
+
230,
|
|
1214
|
+
255
|
|
1215
|
+
]
|
|
1216
|
+
];
|
|
1217
|
+
const rgbTableRow = rgbTable[options.workerIndex % rgbTable.length];
|
|
1218
|
+
return chalk.rgb(rgbTableRow[0], rgbTableRow[1], rgbTableRow[2])(`runPrefix: [${runPrefix}], testType: [${testType}], description: [${description}], workerManagerId: [${workerManagerId}], Iteration: [${iteration}]`);
|
|
1190
1219
|
};
|
|
1191
1220
|
_CheckOutputLongDurationError = (snapshotStart, message) => {
|
|
1192
1221
|
const snapShotEnd = performance.now();
|