archunit
Version:
ArchUnit TypeScript is an architecture testing library, to specify and assert architecture rules in your TypeScript app
13 lines (12 loc) • 325 B
TypeScript
export interface TestResult {
pass: boolean;
message: () => string;
}
export interface TestViolation {
message: string;
details: Object;
}
export declare class ResultFactory {
static result(shouldNotPass: boolean, violations: TestViolation[]): TestResult;
static error(message: string): TestResult;
}