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