Optional
failWhether a missing snapshot should cause the comparison to fail.
Optional
maskDefines a function for masking predefined regions per page, useful for parts of the PDF that change between tests.
Optional
pdf2Configuration 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.