@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 CHANGED
@@ -1,28 +1,29 @@
1
- import chalk from 'chalk';
2
- import WDIOReporter from '@wdio/reporter';
3
- /**
4
- * Initialize a new `Dot` matrix test reporter.
5
- */
6
- export default class DotReporter extends WDIOReporter {
7
- constructor(options) {
8
- super(Object.assign({ stdout: true }, options));
9
- }
10
- /**
11
- * pending tests
12
- */
13
- onTestSkip() {
14
- this.write(chalk.cyanBright('.'));
15
- }
16
- /**
17
- * passing tests
18
- */
19
- onTestPass() {
20
- this.write(chalk.greenBright('.'));
21
- }
22
- /**
23
- * failing tests
24
- */
25
- onTestFail() {
26
- this.write(chalk.redBright('F'));
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-alpha.78+fee2f8a88",
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
- ".": "./build/index.js",
27
- "./package.json": "./package.json"
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-alpha.78+fee2f8a88",
32
- "@wdio/types": "9.0.0-alpha.78+fee2f8a88",
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": "fee2f8a88d132537795eaf144abf1a7e242f99ff"
44
+ "gitHead": "957693463371a4cb329395dcdbce8fb0c930ab93"
43
45
  }
File without changes