jest-test-each
Version:
run parametrised tests easily [typesafe] without text tables or arrays of arrays.
18 lines (17 loc) • 415 B
TypeScript
export declare type WithDesc = {
desc?: string;
};
export declare type WithFlatDesc = {
flatDesc?: string;
};
export declare type WithDefect = {
defect?: string;
actualFailReasonParts?: string[];
};
export declare type WithSkip = {
skip?: string;
};
export declare type WithEmpty = {
isEmpty?: boolean;
};
export declare type CaseAddition = WithFlatDesc & WithDefect & WithSkip & WithEmpty;