New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More →

@wdio/dot-reporter

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdio/dot-reporter - npm Package Compare versions

Comparing version

to
9.0.0

@@ -1,28 +0,29 @@

import chalk from 'chalk';
import WDIOReporter from '@wdio/reporter';
/**
* Initialize a new `Dot` matrix test reporter.
*/
export default class DotReporter extends WDIOReporter {
constructor(options) {
super(Object.assign({ stdout: true }, options));
}
/**
* pending tests
*/
onTestSkip() {
this.write(chalk.cyanBright('.'));
}
/**
* passing tests
*/
onTestPass() {
this.write(chalk.greenBright('.'));
}
/**
* failing tests
*/
onTestFail() {
this.write(chalk.redBright('F'));
}
}
// src/index.ts
import chalk from "chalk";
import WDIOReporter from "@wdio/reporter";
var DotReporter = class extends WDIOReporter {
constructor(options) {
super(Object.assign({ stdout: true }, options));
}
/**
* pending tests
*/
onTestSkip() {
this.write(chalk.cyanBright("."));
}
/**
* passing tests
*/
onTestPass() {
this.write(chalk.greenBright("."));
}
/**
* failing tests
*/
onTestFail() {
this.write(chalk.redBright("F"));
}
};
export {
DotReporter as default
};
{
"name": "@wdio/dot-reporter",
"version": "9.0.0-alpha.426+d760644c4",
"version": "9.0.0",
"description": "A WebdriverIO plugin to report in dot style",

@@ -26,9 +26,11 @@ "author": "Christian Bromann <mail@bromann.dev>",

"exports": {
".": "./build/index.js",
"./package.json": "./package.json"
".": {
"import": "./build/index.js",
"types": "./build/index.d.ts"
}
},
"typeScriptVersion": "3.8.3",
"dependencies": {
"@wdio/reporter": "9.0.0-alpha.426+d760644c4",
"@wdio/types": "9.0.0-alpha.426+d760644c4",
"@wdio/reporter": "9.0.0",
"@wdio/types": "9.0.0",
"chalk": "^5.0.1"

@@ -43,3 +45,3 @@ },

},
"gitHead": "d760644c4c6e1ef910c0bee120cb422e25dbbe06"
"gitHead": "957693463371a4cb329395dcdbce8fb0c930ab93"
}