@supertape/formatter-progress-bar 4.0.0 → 4.2.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.
- package/lib/progress-bar.js +4 -6
- package/package.json +4 -5
package/lib/progress-bar.js
CHANGED
|
@@ -3,6 +3,7 @@ import cliProgress from 'cli-progress';
|
|
|
3
3
|
import chalk from 'chalk';
|
|
4
4
|
import fullstore from 'fullstore';
|
|
5
5
|
import {isCI} from 'ci-info';
|
|
6
|
+
import process from 'node:process';
|
|
6
7
|
|
|
7
8
|
global._isCI = isCI;
|
|
8
9
|
|
|
@@ -118,19 +119,16 @@ export const end = ({barStore, out}) => ({count, passed, failed, skiped}) => {
|
|
|
118
119
|
out(`# tests ${count}`);
|
|
119
120
|
out(`# pass ${passed}`);
|
|
120
121
|
|
|
121
|
-
if (skiped)
|
|
122
|
+
if (skiped)
|
|
122
123
|
out(`# ⚠️ skip ${skiped}`);
|
|
123
|
-
}
|
|
124
124
|
|
|
125
125
|
out('');
|
|
126
126
|
|
|
127
|
-
if (failed)
|
|
127
|
+
if (failed)
|
|
128
128
|
out(`# ❌ fail ${failed}`);
|
|
129
|
-
}
|
|
130
129
|
|
|
131
|
-
if (!failed)
|
|
130
|
+
if (!failed)
|
|
132
131
|
out('# ✅ ok');
|
|
133
|
-
}
|
|
134
132
|
|
|
135
133
|
out('');
|
|
136
134
|
out('');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supertape/formatter-progress-bar",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
|
|
5
5
|
"description": "📼 Supertape formatter progress bar",
|
|
6
6
|
"homepage": "http://github.com/coderaiser/supertape",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"chalk": "^4.1.0",
|
|
27
|
-
"ci-info": "^
|
|
27
|
+
"ci-info": "^4.0.0",
|
|
28
28
|
"cli-progress": "^3.8.2",
|
|
29
29
|
"fullstore": "^3.0.0",
|
|
30
30
|
"once": "^1.4.0"
|
|
@@ -35,16 +35,15 @@
|
|
|
35
35
|
"supertape"
|
|
36
36
|
],
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@babel/core": "^7.12.9",
|
|
39
38
|
"c8": "^8.0.0",
|
|
40
39
|
"eslint": "^8.0.0-beta.0",
|
|
41
40
|
"eslint-plugin-n": "^16.0.1",
|
|
42
|
-
"eslint-plugin-putout": "^
|
|
41
|
+
"eslint-plugin-putout": "^21.0.1",
|
|
43
42
|
"madrun": "^9.0.0",
|
|
44
43
|
"montag": "^1.0.0",
|
|
45
44
|
"nodemon": "^3.0.1",
|
|
46
45
|
"pullout": "^4.0.0",
|
|
47
|
-
"putout": "^
|
|
46
|
+
"putout": "^33.0.0",
|
|
48
47
|
"supertape": "^8.0.0"
|
|
49
48
|
},
|
|
50
49
|
"license": "MIT",
|