@wdio/dot-reporter 7.20.0 → 8.0.0-alpha.213
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 +6 -12
- package/package.json +12 -10
package/build/index.js
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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"));
|
|
1
|
+
import chalk from 'chalk';
|
|
2
|
+
import WDIOReporter from '@wdio/reporter';
|
|
8
3
|
/**
|
|
9
4
|
* Initialize a new `Dot` matrix test reporter.
|
|
10
5
|
*/
|
|
11
|
-
class DotReporter extends
|
|
6
|
+
export default class DotReporter extends WDIOReporter {
|
|
12
7
|
constructor(options) {
|
|
13
8
|
super(Object.assign({ stdout: true }, options));
|
|
14
9
|
}
|
|
@@ -16,19 +11,18 @@ class DotReporter extends reporter_1.default {
|
|
|
16
11
|
* pending tests
|
|
17
12
|
*/
|
|
18
13
|
onTestSkip() {
|
|
19
|
-
this.write(
|
|
14
|
+
this.write(chalk.cyanBright('.'));
|
|
20
15
|
}
|
|
21
16
|
/**
|
|
22
17
|
* passing tests
|
|
23
18
|
*/
|
|
24
19
|
onTestPass() {
|
|
25
|
-
this.write(
|
|
20
|
+
this.write(chalk.greenBright('.'));
|
|
26
21
|
}
|
|
27
22
|
/**
|
|
28
23
|
* failing tests
|
|
29
24
|
*/
|
|
30
25
|
onTestFail() {
|
|
31
|
-
this.write(
|
|
26
|
+
this.write(chalk.redBright('F'));
|
|
32
27
|
}
|
|
33
28
|
}
|
|
34
|
-
exports.default = DotReporter;
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/dot-reporter",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0-alpha.213+c5fb6d57e",
|
|
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",
|
|
9
8
|
"engines": {
|
|
10
|
-
"node": ">=
|
|
9
|
+
"node": "^16.13 || >=18"
|
|
11
10
|
},
|
|
12
11
|
"repository": {
|
|
13
12
|
"type": "git",
|
|
@@ -21,14 +20,18 @@
|
|
|
21
20
|
"bugs": {
|
|
22
21
|
"url": "https://github.com/webdriverio/webdriverio/issues"
|
|
23
22
|
},
|
|
23
|
+
"type": "module",
|
|
24
|
+
"exports": "./build/index.js",
|
|
25
|
+
"types": "./build/index.d.ts",
|
|
26
|
+
"typeScriptVersion": "3.8.3",
|
|
24
27
|
"dependencies": {
|
|
25
|
-
"@wdio/reporter": "
|
|
26
|
-
"@wdio/types": "
|
|
27
|
-
"chalk": "^
|
|
28
|
+
"@wdio/reporter": "8.0.0-alpha.213+c5fb6d57e",
|
|
29
|
+
"@wdio/types": "8.0.0-alpha.213+c5fb6d57e",
|
|
30
|
+
"chalk": "^5.0.1"
|
|
28
31
|
},
|
|
29
32
|
"devDependencies": {
|
|
30
|
-
"@types/tmp": "^0.2.
|
|
31
|
-
"tmp": "^0.2.
|
|
33
|
+
"@types/tmp": "^0.2.3",
|
|
34
|
+
"tmp": "^0.2.1"
|
|
32
35
|
},
|
|
33
36
|
"peerDependencies": {
|
|
34
37
|
"@wdio/cli": "^7.0.0"
|
|
@@ -36,6 +39,5 @@
|
|
|
36
39
|
"publishConfig": {
|
|
37
40
|
"access": "public"
|
|
38
41
|
},
|
|
39
|
-
"
|
|
40
|
-
"gitHead": "b00976955d3901903fe8401d09ed10d8826d38b1"
|
|
42
|
+
"gitHead": "c5fb6d57e168d8bf939a5aa5c2ada5abaceec5eb"
|
|
41
43
|
}
|