@jsenv/test 3.0.11 → 3.0.13
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.
package/dist/jsenv_test.js
CHANGED
|
@@ -5172,6 +5172,8 @@ ${testPlanResult.patterns.join("\n")}`;
|
|
|
5172
5172
|
fileFoundLine += `${numberOfFiles} files matching "testPlan" in ${directory}`;
|
|
5173
5173
|
}
|
|
5174
5174
|
|
|
5175
|
+
// TODO: an option to log how many cpu, memory etc we'll use?
|
|
5176
|
+
|
|
5175
5177
|
lines.push(fileFoundLine);
|
|
5176
5178
|
|
|
5177
5179
|
return `${renderBigSection({
|
|
@@ -5551,7 +5553,6 @@ const renderOutro = (testPlanResult, logOptions = {}) => {
|
|
|
5551
5553
|
const processMemoryUsage = testPlanResult.memoryUsage.process;
|
|
5552
5554
|
let memoryUsageLine = "memory: ";
|
|
5553
5555
|
memoryUsageLine += `${humanizeProcessMemoryUsage(processMemoryUsage.end)}`;
|
|
5554
|
-
debugger;
|
|
5555
5556
|
memoryUsageLine += renderDetails({
|
|
5556
5557
|
med: humanizeProcessMemoryUsage(processMemoryUsage.median),
|
|
5557
5558
|
min: humanizeProcessMemoryUsage(processMemoryUsage.min),
|
|
@@ -5560,7 +5561,10 @@ const renderOutro = (testPlanResult, logOptions = {}) => {
|
|
|
5560
5561
|
lines.push(memoryUsageLine);
|
|
5561
5562
|
}
|
|
5562
5563
|
|
|
5563
|
-
return `\n${renderBigSection({
|
|
5564
|
+
return `\n${renderBigSection({
|
|
5565
|
+
title: "execution end",
|
|
5566
|
+
content: lines.join("\n"),
|
|
5567
|
+
})}\n`;
|
|
5564
5568
|
};
|
|
5565
5569
|
|
|
5566
5570
|
const humanizeTiming = (value) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/test",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.13",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@c88/v8-coverage": "0.1.1",
|
|
40
40
|
"@jsenv/abort": "4.3.0",
|
|
41
|
-
"@jsenv/ast": "6.0.
|
|
42
|
-
"@jsenv/filesystem": "4.6.
|
|
43
|
-
"@jsenv/github-check-run": "0.1.
|
|
41
|
+
"@jsenv/ast": "6.0.3",
|
|
42
|
+
"@jsenv/filesystem": "4.6.5",
|
|
43
|
+
"@jsenv/github-check-run": "0.1.10",
|
|
44
44
|
"@jsenv/humanize": "1.0.0",
|
|
45
|
-
"@jsenv/plugin-supervisor": "1.4.
|
|
45
|
+
"@jsenv/plugin-supervisor": "1.4.3",
|
|
46
46
|
"@jsenv/url-meta": "8.4.0",
|
|
47
|
-
"@jsenv/urls": "2.2.
|
|
47
|
+
"@jsenv/urls": "2.2.3",
|
|
48
48
|
"@jsenv/utils": "2.1.1",
|
|
49
49
|
"istanbul-lib-coverage": "3.2.2",
|
|
50
50
|
"istanbul-lib-instrument": "6.0.1",
|
|
@@ -242,6 +242,8 @@ ${testPlanResult.patterns.join("\n")}`;
|
|
|
242
242
|
fileFoundLine += `${numberOfFiles} files matching "testPlan" in ${directory}`;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
+
// TODO: an option to log how many cpu, memory etc we'll use?
|
|
246
|
+
|
|
245
247
|
lines.push(fileFoundLine);
|
|
246
248
|
|
|
247
249
|
return `${renderBigSection({
|
|
@@ -621,7 +623,6 @@ export const renderOutro = (testPlanResult, logOptions = {}) => {
|
|
|
621
623
|
const processMemoryUsage = testPlanResult.memoryUsage.process;
|
|
622
624
|
let memoryUsageLine = "memory: ";
|
|
623
625
|
memoryUsageLine += `${humanizeProcessMemoryUsage(processMemoryUsage.end)}`;
|
|
624
|
-
debugger;
|
|
625
626
|
memoryUsageLine += renderDetails({
|
|
626
627
|
med: humanizeProcessMemoryUsage(processMemoryUsage.median),
|
|
627
628
|
min: humanizeProcessMemoryUsage(processMemoryUsage.min),
|
|
@@ -630,7 +631,10 @@ export const renderOutro = (testPlanResult, logOptions = {}) => {
|
|
|
630
631
|
lines.push(memoryUsageLine);
|
|
631
632
|
}
|
|
632
633
|
|
|
633
|
-
return `\n${renderBigSection({
|
|
634
|
+
return `\n${renderBigSection({
|
|
635
|
+
title: "execution end",
|
|
636
|
+
content: lines.join("\n"),
|
|
637
|
+
})}\n`;
|
|
634
638
|
};
|
|
635
639
|
|
|
636
640
|
const humanizeTiming = (value) => {
|