@jsenv/test 3.3.33 → 3.4.0

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.
@@ -4531,11 +4531,11 @@ const renderIntro = (testPlanResult, logOptions) => {
4531
4531
  // TODO: an option to log how many cpu, memory etc we'll use?
4532
4532
  }
4533
4533
  {
4534
- const process = logOptions.mockFluctuatingValues
4534
+ const runtime = logOptions.mockFluctuatingValues
4535
4535
  ? `node@mock`
4536
- : `${testPlanResult.process.name}@${testPlanResult.process.version}`;
4537
- let processLine = `process: ${process}`;
4538
- lines.push(processLine);
4536
+ : `${testPlanResult.runtime.name}@${testPlanResult.runtime.version}`;
4537
+ let runtimeLine = `runtime: ${runtime}`;
4538
+ lines.push(runtimeLine);
4539
4539
  }
4540
4540
  }
4541
4541
  return `${renderBigSection({
@@ -5856,7 +5856,7 @@ const executeTestPlan = async ({
5856
5856
  availableCpu: countAvailableCpus(),
5857
5857
  availableMemory: totalmem(),
5858
5858
  },
5859
- process: {
5859
+ runtime: {
5860
5860
  name: "node",
5861
5861
  version: process.version.slice(1),
5862
5862
  },
@@ -9336,7 +9336,7 @@ const reportAsJson = (
9336
9336
  testPlanResultCopy.os.version = "<mock>";
9337
9337
  testPlanResultCopy.os.availableCpu = "<mock>";
9338
9338
  testPlanResultCopy.os.availableMemory = "<mock>";
9339
- testPlanResultCopy.process.version = "<mock>";
9339
+ testPlanResultCopy.runtime.version = "<mock>";
9340
9340
  testPlanResultCopy.memoryUsage = "<mock>";
9341
9341
  testPlanResultCopy.cpuUsage = "<mock>";
9342
9342
  testPlanResultCopy.rootDirectoryUrl = "/mock/";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/test",
3
- "version": "3.3.33",
3
+ "version": "3.4.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -40,7 +40,7 @@
40
40
  "@jsenv/abort": "4.3.0",
41
41
  "@jsenv/ast": "6.2.16",
42
42
  "@jsenv/exception": "1.1.1",
43
- "@jsenv/filesystem": "4.10.0",
43
+ "@jsenv/filesystem": "4.10.1",
44
44
  "@jsenv/github-check-run": "0.1.31",
45
45
  "@jsenv/humanize": "1.2.8",
46
46
  "@jsenv/plugin-supervisor": "1.5.18",
@@ -193,7 +193,7 @@ export const executeTestPlan = async ({
193
193
  availableCpu: countAvailableCpus(),
194
194
  availableMemory: totalmem(),
195
195
  },
196
- process: {
196
+ runtime: {
197
197
  name: "node",
198
198
  version: process.version.slice(1),
199
199
  },
@@ -19,7 +19,7 @@ export const reportAsJson = (
19
19
  testPlanResultCopy.os.version = "<mock>";
20
20
  testPlanResultCopy.os.availableCpu = "<mock>";
21
21
  testPlanResultCopy.os.availableMemory = "<mock>";
22
- testPlanResultCopy.process.version = "<mock>";
22
+ testPlanResultCopy.runtime.version = "<mock>";
23
23
  testPlanResultCopy.memoryUsage = "<mock>";
24
24
  testPlanResultCopy.cpuUsage = "<mock>";
25
25
  testPlanResultCopy.rootDirectoryUrl = "/mock/";
@@ -292,12 +292,12 @@ const renderIntro = (testPlanResult, logOptions) => {
292
292
  lines.push(osLine);
293
293
  // TODO: an option to log how many cpu, memory etc we'll use?
294
294
  }
295
- process_line: {
296
- const process = logOptions.mockFluctuatingValues
295
+ runtime_line: {
296
+ const runtime = logOptions.mockFluctuatingValues
297
297
  ? `node@mock`
298
- : `${testPlanResult.process.name}@${testPlanResult.process.version}`;
299
- let processLine = `process: ${process}`;
300
- lines.push(processLine);
298
+ : `${testPlanResult.runtime.name}@${testPlanResult.runtime.version}`;
299
+ let runtimeLine = `runtime: ${runtime}`;
300
+ lines.push(runtimeLine);
301
301
  }
302
302
  }
303
303
  return `${renderBigSection({