flagpole
Version:
Simple and fast DOM integration, headless or headful browser, and REST API testing framework.
20 lines (19 loc) • 589 B
TypeScript
import { iConsoleLine, iLogItem } from '../interfaces';
import { LogItemType } from '../enums';
export declare abstract class LogItem implements iLogItem {
abstract readonly type: LogItemType;
abstract readonly className: string;
readonly passed: boolean;
readonly failed: boolean;
readonly isOptional: boolean;
readonly message: string;
readonly timestamp: Date;
constructor(message: string);
toString(): string;
toConsole(): iConsoleLine[];
toHtml(): string;
toJson(): any;
toCsv(): string;
toTsv(): string;
toPsv(): string;
}