arrange-act-assert
Version:
The lightweight "Act-Arrange-Assert" oriented testing framework
24 lines (23 loc) • 788 B
TypeScript
import { Messages, Formatter } from ".";
import { Summary } from "../testRunner/testRunner";
import { CoverageOptions } from "../coverage/processCoverage";
export declare const enum Style {
None = "",
Reset = "\u001B[0m",
Bold = "\u001B[1m",
Green = "\u001B[92m",
Red = "\u001B[91m",
Yellow = "\u001B[93m"
}
export declare class DefaultFormatter implements Formatter {
private readonly _out;
private readonly _root;
private readonly tests;
private readonly coverage;
constructor(_out?: (msg: string) => void);
private _processCoverageFile;
private _processCoverageTree;
private _formatCoverage;
formatSummary(summary: Summary, coverageOptions: CoverageOptions): Promise<void>;
format(fileId: string, msg: Messages): void;
}