@averagehelper/corde
Version:
A simple library for Discord bot tests. (Republished fork to demonstrate a bugfix)
20 lines (19 loc) • 543 B
TypeScript
export interface TestReportModel {
commandName: string;
expectation?: any;
output?: any;
isNot: boolean;
hasPassed: boolean;
showExpectAndOutputValue: boolean;
customReturnMessage?: string;
}
export declare class TestReport {
readonly commandName: string;
readonly expectation?: any;
readonly output?: any;
readonly isNot: boolean;
readonly showExpectAndOutputValue: boolean;
readonly customReturnMessage?: string;
readonly hasPassed: boolean;
constructor(model: TestReportModel);
}