You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to try out the ssim-cie94 method of @playwright/test. To do that I'd need to be able to provide a custom function to comparisonMethod (as opposed to just the two string options: 'pixelmatch' | 'ssim'). I think this property can accept a function and just execute that function with the same arguments it's already using for the other two methods
I'd like to try out the
ssim-cie94
method of @playwright/test. To do that I'd need to be able to provide a custom function tocomparisonMethod
(as opposed to just the two string options:'pixelmatch' | 'ssim'
). I think this property can accept a function and just execute that function with the same arguments it's already using for the other two methodsjest-image-snapshot/src/diff-snapshot.js
Line 225 in c3cfd12
Essentially it'll change to this
This will also make the library more robust to handle other custom diffing strategies moving forward.
The text was updated successfully, but these errors were encountered: