@jsenv/test 3.5.13 → 3.5.15

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.
@@ -4682,7 +4682,7 @@ const renderExecutionLabel = (execution, logOptions) => {
4682
4682
  {
4683
4683
  const infos = [];
4684
4684
  if (logOptions.group) {
4685
- infos.push(execution.group);
4685
+ infos.push(ANSI.color(execution.group, ANSI.GREY));
4686
4686
  }
4687
4687
  const { timings, memoryUsage } = execution.result;
4688
4688
  if (timings) {
@@ -5605,9 +5605,8 @@ const startServerUsingCommand = async (
5605
5605
  let isAbort = false;
5606
5606
  let isTeardown = false;
5607
5607
  let processClosed = false;
5608
- let stderr = "";
5609
5608
  spawnedProcess.stderr.on("data", (data) => {
5610
- stderr += String(data);
5609
+ logger.error(data);
5611
5610
  });
5612
5611
  const closedPromise = new Promise((resolve) => {
5613
5612
  spawnedProcess.once("exit", (exitCode, signal) => {
@@ -5618,10 +5617,7 @@ const startServerUsingCommand = async (
5618
5617
  );
5619
5618
  } else {
5620
5619
  logger.error(
5621
- `web server process premature exit exitCode=${exitCode}, exitSignal=${signal}, pid=${spawnedProcess.pid}
5622
- --- stderr ---
5623
- ${stderr}
5624
- --------------`,
5620
+ `web server process premature exit exitCode=${exitCode}, exitSignal=${signal}, pid=${spawnedProcess.pid}`,
5625
5621
  );
5626
5622
  }
5627
5623
  resolve();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/test",
3
- "version": "3.5.13",
3
+ "version": "3.5.15",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -39,7 +39,7 @@
39
39
  "@jsenv/abort": "4.3.0",
40
40
  "@jsenv/ast": "6.2.17",
41
41
  "@jsenv/exception": "1.1.3",
42
- "@jsenv/filesystem": "4.10.10",
42
+ "@jsenv/filesystem": "4.10.11",
43
43
  "@jsenv/github-check-run": "0.2.1",
44
44
  "@jsenv/node-esm-resolution": "1.0.6",
45
45
  "@jsenv/humanize": "1.2.8",
@@ -439,7 +439,7 @@ const renderExecutionLabel = (execution, logOptions) => {
439
439
  {
440
440
  const infos = [];
441
441
  if (logOptions.group) {
442
- infos.push(execution.group);
442
+ infos.push(ANSI.color(execution.group, ANSI.GREY));
443
443
  }
444
444
  const { timings, memoryUsage } = execution.result;
445
445
  if (timings) {
@@ -42,9 +42,8 @@ export const startServerUsingCommand = async (
42
42
  let isAbort = false;
43
43
  let isTeardown = false;
44
44
  let processClosed = false;
45
- let stderr = "";
46
45
  spawnedProcess.stderr.on("data", (data) => {
47
- stderr += String(data);
46
+ logger.error(data);
48
47
  });
49
48
  const closedPromise = new Promise((resolve) => {
50
49
  spawnedProcess.once("exit", (exitCode, signal) => {
@@ -55,10 +54,7 @@ export const startServerUsingCommand = async (
55
54
  );
56
55
  } else {
57
56
  logger.error(
58
- `web server process premature exit exitCode=${exitCode}, exitSignal=${signal}, pid=${spawnedProcess.pid}
59
- --- stderr ---
60
- ${stderr}
61
- --------------`,
57
+ `web server process premature exit exitCode=${exitCode}, exitSignal=${signal}, pid=${spawnedProcess.pid}`,
62
58
  );
63
59
  }
64
60
  resolve();