UNPKG

jest-prettyhtml-matchers

Version:

Custom Jest snapshot matchers that use prettyhtml to format strings.

3 lines (2 loc) 254 B
import type { Format, PrettyHtmlOptions } from './types'; export declare const createToMatchPrettyHtmlSnapshot: (format: Format) => (this: any, received: string, options?: PrettyHtmlOptions | string, hint?: string) => import("expect").ExpectationResult;