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