@jsenv/test 1.7.0 → 1.7.1

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.
@@ -17,7 +17,7 @@ import { applyBabelPlugins } from "@jsenv/ast";
17
17
  import { runInNewContext } from "node:vm";
18
18
  import wrapAnsi from "wrap-ansi";
19
19
  import { injectSupervisorIntoHTML, supervisorFileUrl } from "@jsenv/plugin-supervisor";
20
- import { SOURCEMAP, generateSourcemapDataUrl } from "@jsenv/sourcemap";
20
+ import { generateSourcemapDataUrl, SOURCEMAP } from "@jsenv/sourcemap";
21
21
  import { findFreePort } from "@jsenv/server";
22
22
  import { Worker } from "node:worker_threads";
23
23
 
@@ -4077,14 +4077,10 @@ const formatExecution = (
4077
4077
  : {}),
4078
4078
  };
4079
4079
  let message = ``;
4080
- if (label) {
4081
- message += label;
4082
- }
4080
+ message += label;
4083
4081
  Object.keys(details).forEach((key) => {
4084
- if (message.length > 0) {
4085
- message += "\n";
4086
- }
4087
- message += `${key}: ${details[key]}`;
4082
+ message += `
4083
+ ${key}: ${details[key]}`;
4088
4084
  });
4089
4085
  if (consoleOutput) {
4090
4086
  message += `\n${consoleOutput}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/test",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,9 +42,9 @@
42
42
  "@jsenv/url-meta": "8.1.0",
43
43
  "@jsenv/utils": "2.0.1",
44
44
  "@jsenv/github-check-run": "0.1.0",
45
- "v8-to-istanbul": "9.1.0",
45
+ "v8-to-istanbul": "9.1.3",
46
46
  "istanbul-lib-coverage": "3.2.0",
47
- "istanbul-lib-instrument": "6.0.0",
47
+ "istanbul-lib-instrument": "6.0.1",
48
48
  "istanbul-lib-report": "3.0.1",
49
49
  "istanbul-reports": "3.1.6",
50
50
  "@c88/v8-coverage": "0.1.1",
@@ -118,14 +118,10 @@ export const formatExecution = (
118
118
  : {}),
119
119
  };
120
120
  let message = ``;
121
- if (label) {
122
- message += label;
123
- }
121
+ message += label;
124
122
  Object.keys(details).forEach((key) => {
125
- if (message.length > 0) {
126
- message += "\n";
127
- }
128
- message += `${key}: ${details[key]}`;
123
+ message += `
124
+ ${key}: ${details[key]}`;
129
125
  });
130
126
  if (consoleOutput) {
131
127
  message += `\n${consoleOutput}`;