@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 CHANGED
@@ -1,48 +1,52 @@
1
- import WDIOReporter from '@wdio/reporter';
2
- export default class CustomSmokeTestReporter extends WDIOReporter {
3
- onRunnerStart() {
4
- this.write('onRunnerStart\n');
5
- }
6
- onBeforeCommand() {
7
- this.write('onBeforeCommand\n');
8
- }
9
- onAfterCommand() {
10
- this.write('onAfterCommand\n');
11
- }
12
- onSuiteStart() {
13
- this.write('onSuiteStart\n');
14
- }
15
- onHookStart() {
16
- this.write('onHookStart\n');
17
- }
18
- onHookEnd() {
19
- this.write('onHookEnd\n');
20
- }
21
- onTestStart() {
22
- this.write('onTestStart\n');
23
- }
24
- onTestPass() {
25
- this.write('onTestPass\n');
26
- }
27
- onTestFail() {
28
- this.write('onTestFail\n');
29
- }
30
- onTestSkip() {
31
- this.write('onTestSkip\n');
32
- }
33
- onTestEnd() {
34
- this.write('onTestEnd\n');
35
- }
36
- onSuiteEnd() {
37
- this.write('onSuiteEnd\n');
38
- }
39
- onRunnerEnd() {
40
- this.write('onRunnerEnd\n');
41
- }
42
- onAfterAssertion() {
43
- this.write('onAfterAssertion\n');
44
- }
45
- onBeforeAssertion() {
46
- this.write('onBeforeAssertion\n');
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-alpha.78+fee2f8a88",
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
- ".": "./build/index.js",
23
- "./package.json": "./package.json"
22
+ ".": {
23
+ "import": "./build/index.js"
24
+ }
24
25
  },
25
26
  "typeScriptVersion": "3.8.3",
26
27
  "dependencies": {
27
- "@wdio/reporter": "9.0.0-alpha.78+fee2f8a88"
28
+ "@wdio/reporter": "9.0.0"
28
29
  },
29
30
  "publishConfig": {
30
31
  "access": "public"
31
32
  },
32
- "gitHead": "fee2f8a88d132537795eaf144abf1a7e242f99ff"
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
@@ -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"}
File without changes