@johnf/react-native-owl
Version:
Visual regression testing for React Native
19 lines • 529 B
TypeScript
declare global {
namespace jest {
interface Matchers<R> {
/** Compares the image passed to the baseline one */
toMatchBaseline: ({ threshold, }?: {
threshold?: number;
bottomCrop?: number;
}) => CustomMatcherResult;
}
}
}
export declare const toMatchBaseline: (latestPath: string, options?: {
threshold?: number;
bottomCrop?: number;
}) => {
message: () => string;
pass: boolean;
};
//# sourceMappingURL=matchers.d.ts.map