@wdio/smoke-test-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 +52 -48
- package/package.json +6 -5
- package/build/index.d.ts +0 -19
- package/build/index.d.ts.map +0 -1
- /package/{LICENSE-MIT → LICENSE} +0 -0
package/build/index.js
CHANGED
|
@@ -1,48 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
}
|
|
1
|
+
// src/index.ts
|
|
2
|
+
import WDIOReporter from "@wdio/reporter";
|
|
3
|
+
var CustomSmokeTestReporter = class extends WDIOReporter {
|
|
4
|
+
onRunnerStart() {
|
|
5
|
+
this.write("onRunnerStart\n");
|
|
6
|
+
}
|
|
7
|
+
onBeforeCommand() {
|
|
8
|
+
this.write("onBeforeCommand\n");
|
|
9
|
+
}
|
|
10
|
+
onAfterCommand() {
|
|
11
|
+
this.write("onAfterCommand\n");
|
|
12
|
+
}
|
|
13
|
+
onSuiteStart() {
|
|
14
|
+
this.write("onSuiteStart\n");
|
|
15
|
+
}
|
|
16
|
+
onHookStart() {
|
|
17
|
+
this.write("onHookStart\n");
|
|
18
|
+
}
|
|
19
|
+
onHookEnd() {
|
|
20
|
+
this.write("onHookEnd\n");
|
|
21
|
+
}
|
|
22
|
+
onTestStart() {
|
|
23
|
+
this.write("onTestStart\n");
|
|
24
|
+
}
|
|
25
|
+
onTestPass() {
|
|
26
|
+
this.write("onTestPass\n");
|
|
27
|
+
}
|
|
28
|
+
onTestFail() {
|
|
29
|
+
this.write("onTestFail\n");
|
|
30
|
+
}
|
|
31
|
+
onTestSkip() {
|
|
32
|
+
this.write("onTestSkip\n");
|
|
33
|
+
}
|
|
34
|
+
onTestEnd() {
|
|
35
|
+
this.write("onTestEnd\n");
|
|
36
|
+
}
|
|
37
|
+
onSuiteEnd() {
|
|
38
|
+
this.write("onSuiteEnd\n");
|
|
39
|
+
}
|
|
40
|
+
onRunnerEnd() {
|
|
41
|
+
this.write("onRunnerEnd\n");
|
|
42
|
+
}
|
|
43
|
+
onAfterAssertion() {
|
|
44
|
+
this.write("onAfterAssertion\n");
|
|
45
|
+
}
|
|
46
|
+
onBeforeAssertion() {
|
|
47
|
+
this.write("onBeforeAssertion\n");
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
export {
|
|
51
|
+
CustomSmokeTestReporter as default
|
|
52
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/smoke-test-reporter",
|
|
3
|
-
"version": "9.0.0
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"description": "A WebdriverIO utility to smoke test reporters for internal testing purposes.",
|
|
5
5
|
"author": "Christian Bromann <mail@bromann.dev>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-smoke-test-reporter",
|
|
@@ -19,15 +19,16 @@
|
|
|
19
19
|
"type": "module",
|
|
20
20
|
"types": "./build/index.d.ts",
|
|
21
21
|
"exports": {
|
|
22
|
-
".":
|
|
23
|
-
|
|
22
|
+
".": {
|
|
23
|
+
"import": "./build/index.js"
|
|
24
|
+
}
|
|
24
25
|
},
|
|
25
26
|
"typeScriptVersion": "3.8.3",
|
|
26
27
|
"dependencies": {
|
|
27
|
-
"@wdio/reporter": "9.0.0
|
|
28
|
+
"@wdio/reporter": "9.0.0"
|
|
28
29
|
},
|
|
29
30
|
"publishConfig": {
|
|
30
31
|
"access": "public"
|
|
31
32
|
},
|
|
32
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "957693463371a4cb329395dcdbce8fb0c930ab93"
|
|
33
34
|
}
|
package/build/index.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import WDIOReporter from '@wdio/reporter';
|
|
2
|
-
export default class CustomSmokeTestReporter extends WDIOReporter {
|
|
3
|
-
onRunnerStart(): void;
|
|
4
|
-
onBeforeCommand(): void;
|
|
5
|
-
onAfterCommand(): void;
|
|
6
|
-
onSuiteStart(): void;
|
|
7
|
-
onHookStart(): void;
|
|
8
|
-
onHookEnd(): void;
|
|
9
|
-
onTestStart(): void;
|
|
10
|
-
onTestPass(): void;
|
|
11
|
-
onTestFail(): void;
|
|
12
|
-
onTestSkip(): void;
|
|
13
|
-
onTestEnd(): void;
|
|
14
|
-
onSuiteEnd(): void;
|
|
15
|
-
onRunnerEnd(): void;
|
|
16
|
-
onAfterAssertion(): void;
|
|
17
|
-
onBeforeAssertion(): void;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=index.d.ts.map
|
package/build/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,OAAO,OAAO,uBAAwB,SAAQ,YAAY;IAC7D,aAAa;IAGb,eAAe;IAGf,cAAc;IAGd,YAAY;IAGZ,WAAW;IAGX,SAAS;IAGT,WAAW;IAGX,UAAU;IAGV,UAAU;IAGV,UAAU;IAGV,SAAS;IAGT,UAAU;IAGV,WAAW;IAGX,gBAAgB;IAGhB,iBAAiB;CAGpB"}
|
/package/{LICENSE-MIT → LICENSE}
RENAMED
|
File without changes
|