@tapjs/core
Version:
pluggable core of node-tap
30 lines • 692 B
TypeScript
/**
* JSON object representation of {@link @tapjs/core!counts.Counts}
*/
export interface CountsJSON {
total: number;
pass: number;
fail?: number;
skip?: number;
todo?: number;
complete?: number;
}
/**
* Class representing a count of all the assertions in a test
*
* The {@link @tapjs/core!counts.Counts#complete} field is only used when counting tests and
* tracking their completion status.
*
* @internal
*/
export declare class Counts {
total: number;
pass: number;
fail: number;
skip: number;
todo: number;
complete: number;
constructor(c?: Counts | CountsJSON);
toJSON(): CountsJSON;
}
//# sourceMappingURL=counts.d.ts.map