UNPKG

corde

Version:

A simple library for Discord bot tests

19 lines (18 loc) 488 B
import { IRunnerReport } from "../types"; declare class Summary { print(runnerReport: IRunnerReport): string; private buildTestFilesSummary; private buildTestsSummary; private buildSummaryLine; /** * Builds the summary line phrase * * @example * * ["1 passed", "2 fail"] => '1 passed and 2 fail' * ["1 passed", "2 fail", "1 empty"] => '1 passed, 2 fail and 1 empty' */ private buildSummaryLinePhrase; } declare const summary: Summary; export { summary };