@wdio/reporter
Version:
A WebdriverIO utility to help reporting all events
31 lines • 711 B
TypeScript
import RunnableStats from './runnable.js';
export interface Hook {
type?: string;
title: string;
parent: string;
fullTitle?: string;
pending?: boolean;
file?: string;
body?: string;
duration?: number;
cid: string;
specs?: string[];
uid?: string;
errors?: Error[];
error?: Error;
currentTest?: string;
}
export default class HookStats extends RunnableStats {
uid: string;
cid: string;
title: string;
parent: string;
body?: string;
errors?: Error[];
error?: Error;
state?: 'failed' | 'passed';
currentTest?: string;
constructor(runner: Hook);
complete(errors?: Error[]): void;
}
//# sourceMappingURL=hook.d.ts.map