1 | import { Executor } from '../executors/Executor';
|
2 | import Reporter, { ReporterProperties } from './Reporter';
|
3 | import Suite from '../Suite';
|
4 | import Test from '../Test';
|
5 | export default class Dom extends Reporter {
|
6 | document: HTMLDocument;
|
7 | suiteNode: HTMLElement;
|
8 | testNode: HTMLElement | undefined;
|
9 | constructor(executor: Executor, options?: DomOptions);
|
10 | error(error: Error): void;
|
11 | suiteEnd(suite: Suite): void;
|
12 | suiteStart(suite: Suite): void;
|
13 | testEnd(test: Test): void;
|
14 | testStart(test: Test): void;
|
15 | private _scroll;
|
16 | }
|
17 | export interface DomProperties extends ReporterProperties {
|
18 | document: Document;
|
19 | suiteNode: HTMLElement;
|
20 | }
|
21 | export declare type DomOptions = Partial<DomProperties>;
|