@wdio/dot-reporter 9.0.0-alpha.78 → 9.0.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 +29 -28
- package/package.json +8 -6
- /package/{LICENSE-MIT → LICENSE} +0 -0
package/build/index.js
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
// src/index.ts
|
|
2
|
+
import chalk from "chalk";
|
|
3
|
+
import WDIOReporter from "@wdio/reporter";
|
|
4
|
+
var DotReporter = class extends WDIOReporter {
|
|
5
|
+
constructor(options) {
|
|
6
|
+
super(Object.assign({ stdout: true }, options));
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* pending tests
|
|
10
|
+
*/
|
|
11
|
+
onTestSkip() {
|
|
12
|
+
this.write(chalk.cyanBright("."));
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* passing tests
|
|
16
|
+
*/
|
|
17
|
+
onTestPass() {
|
|
18
|
+
this.write(chalk.greenBright("."));
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* failing tests
|
|
22
|
+
*/
|
|
23
|
+
onTestFail() {
|
|
24
|
+
this.write(chalk.redBright("F"));
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
export {
|
|
28
|
+
DotReporter as default
|
|
29
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/dot-reporter",
|
|
3
|
-
"version": "9.0.0
|
|
3
|
+
"version": "9.0.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",
|
|
@@ -23,13 +23,15 @@
|
|
|
23
23
|
},
|
|
24
24
|
"type": "module",
|
|
25
25
|
"exports": {
|
|
26
|
-
".":
|
|
27
|
-
|
|
26
|
+
".": {
|
|
27
|
+
"import": "./build/index.js",
|
|
28
|
+
"types": "./build/index.d.ts"
|
|
29
|
+
}
|
|
28
30
|
},
|
|
29
31
|
"typeScriptVersion": "3.8.3",
|
|
30
32
|
"dependencies": {
|
|
31
|
-
"@wdio/reporter": "9.0.0
|
|
32
|
-
"@wdio/types": "9.0.0
|
|
33
|
+
"@wdio/reporter": "9.0.0",
|
|
34
|
+
"@wdio/types": "9.0.0",
|
|
33
35
|
"chalk": "^5.0.1"
|
|
34
36
|
},
|
|
35
37
|
"devDependencies": {
|
|
@@ -39,5 +41,5 @@
|
|
|
39
41
|
"publishConfig": {
|
|
40
42
|
"access": "public"
|
|
41
43
|
},
|
|
42
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "957693463371a4cb329395dcdbce8fb0c930ab93"
|
|
43
45
|
}
|
/package/{LICENSE-MIT → LICENSE}
RENAMED
|
File without changes
|