COMPARISON_OPTIONS
Custom options passed to pixelmatch, default to { threshold: 0.1 }
. Please note that the COMPARISON_OPTIONS.threshold
is different from the FAILURE_THRESHOLD
COMPARISON_OPTIONS.threshold
: is the failure threshold for every pixel comparisonFAILURE_THRESHOLD
: is the failure threshold for the whole comparison
💢 Default value: { threshold: 0.1 }
You can verify all available and updated options here: pixelmatch options
Last updated