UNPKG

@armandabric/pdf-snapshot-matcher

Version:
16 lines (15 loc) 409 B
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 };