react-native-owl
Version:
Visual regression testing for React Native
18 lines (17 loc) • 460 B
TypeScript
/// <reference types="jest" />
declare global {
namespace jest {
interface Matchers<R> {
/** Compares the image passed to the baseline one */
toMatchBaseline: ({ threshold, }?: {
threshold?: number;
}) => CustomMatcherResult;
}
}
}
export declare const toMatchBaseline: (latestPath: string, options?: {
threshold?: number;
}) => {
message: () => string;
pass: boolean;
};