testaro 58.1.0 → 58.1.2
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/package.json +1 -1
- package/run.js +2 -2
package/package.json
CHANGED
package/run.js
CHANGED
|
@@ -583,6 +583,8 @@ const doActs = async (report, opts = {}) => {
|
|
|
583
583
|
if (report.jobData && ! report.jobData.aborted) {
|
|
584
584
|
let act = acts[actIndex];
|
|
585
585
|
const {type, which} = act;
|
|
586
|
+
const actSuffix = type === 'test' ? ` ${which}` : '';
|
|
587
|
+
const message = `>>>> ${type}${actSuffix}`;
|
|
586
588
|
// If granular reporting has been specified:
|
|
587
589
|
if (report.observe) {
|
|
588
590
|
// If a progress callback has been provided:
|
|
@@ -600,8 +602,6 @@ const doActs = async (report, opts = {}) => {
|
|
|
600
602
|
}
|
|
601
603
|
// Otherwise, i.e. if no progress callback has been provided:
|
|
602
604
|
else {
|
|
603
|
-
const actSuffix = type === 'test' ? ` ${which}` : '';
|
|
604
|
-
const message = `>>>> ${type}${actSuffix}`;
|
|
605
605
|
// Notify the observer of the act and log it.
|
|
606
606
|
tellServer(report, messageParams, message);
|
|
607
607
|
}
|