UNPKG

cypress-terminal-report

Version:

Better terminal and file output for cypress test logs.

16 lines (15 loc) 734 B
import type { IOutputProcecessor } from './BaseOutputProcessor'; import type { AllMessages } from '../installLogsPrinter.types'; export default class NestedOutputProcessorDecorator implements IOutputProcecessor { protected decoratedFactory: (directory: string) => IOutputProcecessor; protected ext: string; protected processors: Record<string, IOutputProcecessor>; protected root: string; protected specRoot: string; constructor(root: string, specRoot: string, ext: string, decoratedFactory: (directory: string) => IOutputProcecessor); initialize(): void; getProcessor(spec: string): IOutputProcecessor; write(allMessages: AllMessages): void; getTarget(): string; getSpentTime(): number; }