@wdio/dot-reporter 7.20.8-alpha.219 → 7.21.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/build/index.js +12 -6
- package/package.json +11 -13
package/build/index.js
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const chalk_1 = __importDefault(require("chalk"));
|
|
7
|
+
const reporter_1 = __importDefault(require("@wdio/reporter"));
|
|
3
8
|
/**
|
|
4
9
|
* Initialize a new `Dot` matrix test reporter.
|
|
5
10
|
*/
|
|
6
|
-
|
|
11
|
+
class DotReporter extends reporter_1.default {
|
|
7
12
|
constructor(options) {
|
|
8
13
|
super(Object.assign({ stdout: true }, options));
|
|
9
14
|
}
|
|
@@ -11,18 +16,19 @@ export default class DotReporter extends WDIOReporter {
|
|
|
11
16
|
* pending tests
|
|
12
17
|
*/
|
|
13
18
|
onTestSkip() {
|
|
14
|
-
this.write(
|
|
19
|
+
this.write(chalk_1.default.cyanBright('.'));
|
|
15
20
|
}
|
|
16
21
|
/**
|
|
17
22
|
* passing tests
|
|
18
23
|
*/
|
|
19
24
|
onTestPass() {
|
|
20
|
-
this.write(
|
|
25
|
+
this.write(chalk_1.default.greenBright('.'));
|
|
21
26
|
}
|
|
22
27
|
/**
|
|
23
28
|
* failing tests
|
|
24
29
|
*/
|
|
25
30
|
onTestFail() {
|
|
26
|
-
this.write(
|
|
31
|
+
this.write(chalk_1.default.redBright('F'));
|
|
27
32
|
}
|
|
28
33
|
}
|
|
34
|
+
exports.default = DotReporter;
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/dot-reporter",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.21.0",
|
|
4
4
|
"description": "A WebdriverIO plugin to report in dot style",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-dot-reporter",
|
|
7
7
|
"license": "MIT",
|
|
8
|
+
"main": "./build/index",
|
|
8
9
|
"engines": {
|
|
9
|
-
"node": "
|
|
10
|
+
"node": ">=12.0.0"
|
|
10
11
|
},
|
|
11
12
|
"repository": {
|
|
12
13
|
"type": "git",
|
|
@@ -20,24 +21,21 @@
|
|
|
20
21
|
"bugs": {
|
|
21
22
|
"url": "https://github.com/webdriverio/webdriverio/issues"
|
|
22
23
|
},
|
|
23
|
-
"type": "module",
|
|
24
|
-
"exports": "./build/index.js",
|
|
25
|
-
"types": "./build/index.d.ts",
|
|
26
|
-
"typeScriptVersion": "3.8.3",
|
|
27
24
|
"dependencies": {
|
|
28
|
-
"@wdio/reporter": "7.
|
|
29
|
-
"@wdio/types": "7.
|
|
30
|
-
"chalk": "^
|
|
25
|
+
"@wdio/reporter": "7.21.0",
|
|
26
|
+
"@wdio/types": "7.21.0",
|
|
27
|
+
"chalk": "^4.0.0"
|
|
31
28
|
},
|
|
32
29
|
"devDependencies": {
|
|
33
|
-
"@types/tmp": "^0.2.
|
|
34
|
-
"tmp": "^0.2.
|
|
30
|
+
"@types/tmp": "^0.2.0",
|
|
31
|
+
"tmp": "^0.2.0"
|
|
35
32
|
},
|
|
36
33
|
"peerDependencies": {
|
|
37
|
-
"@wdio/cli": "
|
|
34
|
+
"@wdio/cli": "^7.0.0"
|
|
38
35
|
},
|
|
39
36
|
"publishConfig": {
|
|
40
37
|
"access": "public"
|
|
41
38
|
},
|
|
42
|
-
"
|
|
39
|
+
"types": "./build/index.d.ts",
|
|
40
|
+
"gitHead": "808149cc5875529a2c0b3592dc5e255796e8ece4"
|
|
43
41
|
}
|