zarro 1.119.1 → 1.119.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.
|
@@ -230,13 +230,14 @@ function throwIfAnyFailed(testProcessResults) {
|
|
|
230
230
|
continue;
|
|
231
231
|
}
|
|
232
232
|
if (!!result.exitCode) {
|
|
233
|
-
const
|
|
233
|
+
const allOutput = (result.stdout || []).concat(result.stderr || []);
|
|
234
|
+
const notFoundLine = allOutput.find(s =>
|
|
234
235
|
s.includes("test source file") &&
|
|
235
236
|
s.includes("not found"));
|
|
236
237
|
if (!!notFoundLine) {
|
|
237
238
|
throw new Error(notFoundLine);
|
|
238
239
|
} else {
|
|
239
|
-
throw new Error(
|
|
240
|
+
throw new Error(`One or more tests failed:\n${allOutput.join("\n")}`);
|
|
240
241
|
}
|
|
241
242
|
}
|
|
242
243
|
}
|