@armandabric/pdf-snapshot-matcher
Version:
PDF snapshot matcher
16 lines (15 loc) • 409 B
TypeScript
import type { MatcherContext, MatcherFunctionWithContext } from 'expect';
export declare type Options = {
scale?: number;
failureThreshold?: number;
};
export declare type Result = {
pass: boolean;
message: () => string;
};
declare const toMatchPdfSnapshot: MatcherFunctionWithContext<MatcherContext & {
snapshotState?: any;
}, [
Options | undefined
]>;
export { toMatchPdfSnapshot };