@wdio/reporter
Advanced tools
Comparing version 7.19.5 to 7.19.7
@@ -109,2 +109,9 @@ "use strict"; | ||
}); | ||
this.on('test:skip', (test) => { | ||
const testStat = this.tests[test.uid]; | ||
currentTest.skip(test.pendingReason); | ||
this.counts.skipping++; | ||
this.counts.tests++; | ||
this.onTestSkip(testStat); | ||
}); | ||
this.on('test:fail', /* istanbul ignore next */ (test) => { | ||
@@ -111,0 +118,0 @@ const testStat = this.tests[test.uid]; |
import RunnableStats from './runnable'; | ||
import { Argument } from '../types'; | ||
export interface Test { | ||
type: 'test:start' | 'test:pass' | 'test:fail' | 'test:retry' | 'test:pending' | 'test:end'; | ||
type: 'test:start' | 'test:pass' | 'test:fail' | 'test:retry' | 'test:pending' | 'test:end' | 'test:skip'; | ||
title: string; | ||
@@ -6,0 +6,0 @@ parent: string; |
{ | ||
"name": "@wdio/reporter", | ||
"version": "7.19.5", | ||
"version": "7.19.7", | ||
"description": "A WebdriverIO utility to help reporting all events", | ||
@@ -44,3 +44,3 @@ "author": "Christian Bromann <mail@bromann.dev>", | ||
"types": "./build/index.d.ts", | ||
"gitHead": "75af233cbaecf1aaf6a6168dfb4225f56dd21daf" | ||
"gitHead": "ed5b7278190953d5e77d11083b59db2209ac99b5" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
52910
944