@wdio/spec-reporter
Advanced tools
Comparing version 9.4.3 to 9.4.4
@@ -394,3 +394,7 @@ // src/index.ts | ||
for (const error of errors) { | ||
!error?.stack?.includes("new AssertionError") ? output.push(this.setMessageColor(error.message, "failed" /* FAILED */)) : output.push(...error.message.split("\n")); | ||
if (!error?.stack?.includes("new AssertionError")) { | ||
output.push(this.setMessageColor(error.message, "failed" /* FAILED */)); | ||
} else { | ||
output.push(...error.message.split("\n")); | ||
} | ||
if (error.stack) { | ||
@@ -397,0 +401,0 @@ output.push(...error.stack.split(/\n/g).map((value) => this.setMessageColor(value))); |
@@ -0,1 +1,4 @@ | ||
interface Row { | ||
cells: string[]; | ||
} | ||
/** | ||
@@ -6,3 +9,3 @@ * transform cucumber table to format suitable for `easy-table` | ||
*/ | ||
export declare const buildTableData: (rows: any) => any; | ||
export declare const buildTableData: (rows: Row[]) => Record<number, string>[]; | ||
/** | ||
@@ -13,3 +16,3 @@ * returns table in string format | ||
*/ | ||
export declare const printTable: (data: any) => string; | ||
export declare const printTable: (data: unknown) => string; | ||
/** | ||
@@ -28,2 +31,3 @@ * add indentation | ||
export declare const sauceAuthenticationToken: (user: string, key: string, sessionId: string) => string; | ||
export {}; | ||
//# sourceMappingURL=utils.d.ts.map |
{ | ||
"name": "@wdio/spec-reporter", | ||
"version": "9.4.3", | ||
"version": "9.4.4", | ||
"description": "A WebdriverIO plugin to report in spec style", | ||
@@ -34,4 +34,4 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
"dependencies": { | ||
"@wdio/reporter": "9.4.3", | ||
"@wdio/types": "9.4.3", | ||
"@wdio/reporter": "9.4.4", | ||
"@wdio/types": "9.4.4", | ||
"chalk": "^5.1.2", | ||
@@ -44,3 +44,3 @@ "easy-table": "^1.2.0", | ||
}, | ||
"gitHead": "8ee63eaefd86cf06eea832bb8d4c1920e9cc4e55" | ||
"gitHead": "d327d86e07d16eaa0ecdf0656c1868ba73261393" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36939
754
+ Added@wdio/logger@9.4.4(transitive)
+ Added@wdio/reporter@9.4.4(transitive)
+ Added@wdio/types@9.4.4(transitive)
- Removed@wdio/logger@9.1.3(transitive)
- Removed@wdio/reporter@9.4.3(transitive)
- Removed@wdio/types@9.4.3(transitive)
Updated@wdio/reporter@9.4.4
Updated@wdio/types@9.4.4