UNPKG

chai-snapshots

Version:
15 lines (14 loc) 371 B
export declare type ChaiSnapshotsOptions = { pathToSnaps?: string; ignoredAttributes?: Array<string>; devMode?: boolean; }; export declare const SnapshotMatchers: (options?: ChaiSnapshotsOptions) => (chai: any) => void; declare global { module Chai { interface Assertion { matchSnapshotJSON(): Assertion; } } } export {};