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 notFoundLine = (result.stdout || []).find(s =>
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("One or more tests failed");
240
+ throw new Error(`One or more tests failed:\n${allOutput.join("\n")}`);
240
241
  }
241
242
  }
242
243
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zarro",
3
- "version": "1.119.1",
3
+ "version": "1.119.2",
4
4
  "description": "Some glue to make gulp easier, perhaps even zero- or close-to-zero-conf",
5
5
  "bin": {
6
6
  "zarro": "./index.js"