ts-snippet
Version:
A TypeScript snippet testing library for any test framework
7 lines (6 loc) • 327 B
TypeScript
export declare class Expect {
toFail: (expectedMessage?: RegExp) => void;
toInfer: (variableName: string, expectedType: string) => void;
toSucceed: () => void;
constructor(toFail: (expectedMessage?: RegExp) => void, toInfer: (variableName: string, expectedType: string) => void, toSucceed: () => void);
}