Optional
failOnMissingSnapshot?: booleanWhether a missing snapshot should cause the comparison to fail.
Optional
maskRegions?: MaskRegionsDefines a function for masking predefined regions per page, useful for parts of the PDF that change between tests.
Optional
pdf2PngOptions?: PdfToPngOptionsConfiguration options for converting a PDF to PNG format.
Optional
tolerance?: numberNumber value for error tolerance in the range [0, 1].
The options type for comparePdfToSnapshot.