@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.
@@ -1189,9 +1189,38 @@ var TestCaseFhirBase = class {
1189
1189
  return true;
1190
1190
  };
1191
1191
  _GetDetail = () => {
1192
- const { runPrefix, testType, description } = this.runner.options;
1192
+ const options = this.runner.options;
1193
+ const { runPrefix, testType, description } = options;
1193
1194
  const { workerManagerId, iteration } = this.runner;
1194
- return `runPrefix: [${runPrefix}], testType: [${testType}], description: [${description}], workerManagerId: [${workerManagerId}], Iteration: [${iteration}]`;
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();