UNPKG

@pipobscure/demitasse-pretty

Version:

Simple BDD Testing - Pretty Reporter

25 lines (24 loc) 675 B
import { Notifier, TestCase } from '../bdd/lib/notifier'; interface WriteLine { (line: string): void; } declare class Pretty implements Notifier { private readonly write; constructor(write: WriteLine); private caseStack; private good; private skip; private todo; private fail; private readonly indent; notifyInit(options: { [name: string]: boolean | number | string; }, cases: TestCase[]): void; notifyStart(current: TestCase): void; notifyFinish(current: TestCase): void; notifyError(error: Error): void; notifyComplete(): void; private writeReason; } export declare const reporter: Pretty; export {};