@wdio/reporter
Version:
A WebdriverIO utility to help reporting all events
21 lines • 600 B
TypeScript
import type { Hook } from './hook.js';
import type { Suite } from './suite.js';
import type { Test } from './test.js';
/**
* Main class for a runnable class (e.g. test, suite or a hook)
* mainly used to capture its running duration
*/
export default abstract class RunnableStats {
type: string;
start: Date;
end?: Date;
_duration: number;
constructor(type: string);
complete(): void;
get duration(): number;
/**
* ToDo: we should always rely on uid
*/
static getIdentifier(runner: Hook | Suite | Test): string;
}
//# sourceMappingURL=runnable.d.ts.map