Allow configuration of compare-images#6
Conversation
|
Hi @moshensky , do you know when you get to review (and hopefully release) this? I would really appreciate to use the module but without the tolerance flag the tests always fail on some images inside the pdf. |
|
Hi @mzl-md sorry for the late reply. I will have a look asap. Latest tomorrow morning. |
moshensky
left a comment
There was a problem hiding this comment.
👍
As a small improvement might be adding a test that makes sure that public interface is exercised, i.e. adding one test with options that would overwrite defaults.
@mzl-md I released it: https://www.npmjs.com/package/pdf-visual-diff |
|
Great, thank you!
I thought about that but was not sure how to check that the overwritten defaults are being applied. |
Changes:
yellowin compare-images, must beYellow