jest-extended-snapshot
Version:
Additional Jest matchers for snapshot testing
13 lines (12 loc) • 330 B
TypeScript
declare type TestedFunction = (...fnArgs: any) => string;
declare global {
namespace jest {
interface Matchers<R> {
toVerifyAllCombinations(...args: any[][]): R;
}
}
}
declare const _default: {
toVerifyAllCombinations(fn: TestedFunction, ...args: any[][]): any;
};
export default _default;