flagpole
Version:
Simple and fast DOM integration, headless or headful browser, and REST API testing framework.
11 lines (10 loc) • 396 B
TypeScript
export declare class AssertionResult {
readonly passed: boolean;
readonly message: string;
readonly isOptional: boolean;
readonly details: string | null;
static failOptional(message: string, details?: string): AssertionResult;
static fail(message: string, details?: string): AssertionResult;
static pass(message: string): AssertionResult;
private constructor();
}